Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009998/0.0009999, allocations: 181.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4927/0.4927, allocations: 90.8 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.3 MB / 348.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008902, allocations: 94.83 kB / 421.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.731e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 72.31 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9965/1.132, allocations: 382.6 MB / 0.934 GB, free: 90.94 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.132, allocations: 88.77 kB / 0.9341 GB, free: 90.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.762/2.894, allocations: 0.5665 GB / 1.501 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/2.894, allocations: 0 / 1.501 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001478/2.895, allocations: 39.98 kB / 1.501 GB, free: 6.555 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003586/2.898, allocations: 1.738 MB / 1.502 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/2.898, allocations: 15.98 kB / 1.502 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/2.898, allocations: 144 kB / 1.502 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000786/2.899, allocations: 241.9 kB / 1.503 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/2.902, allocations: 1.717 MB / 1.504 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/2.902, allocations: 70 kB / 1.504 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/2.903, allocations: 104 kB / 1.505 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/2.904, allocations: 1.022 MB / 1.506 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/2.904, allocations: 0 / 1.506 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/2.904, allocations: 36 kB / 1.506 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/2.904, allocations: 45.98 kB / 1.506 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/2.906, allocations: 0.7498 MB / 1.506 GB, free: 0.5234 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4361/3.342, allocations: 4.712 MB / 1.511 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/3.343, allocations: 0.517 MB / 1.511 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/3.343, allocations: 262.9 kB / 1.512 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/3.344, allocations: 0.8353 MB / 1.513 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/3.344, allocations: 43.2 kB / 1.513 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/3.344, allocations: 0 / 1.513 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.004303/3.348, allocations: 1.03 MB / 1.514 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/3.348, allocations: 57.09 kB / 1.514 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/3.35, allocations: 1.101 MB / 1.515 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/3.35, allocations: 38.14 kB / 1.515 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/3.351, allocations: 0.6332 MB / 1.515 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/3.351, allocations: 204.5 kB / 1.516 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/3.351, allocations: 12.47 kB / 1.516 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/3.351, allocations: 334 kB / 1.516 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/3.351, allocations: 201 kB / 1.516 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/3.352, allocations: 435.8 kB / 1.517 GB, free: 64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/3.352, allocations: 269.1 kB / 1.517 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/3.352, allocations: 1.094 kB / 1.517 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004307/3.357, allocations: 1.187 MB / 1.518 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002784/3.357, allocations: 1.425 MB / 1.519 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/3.357, allocations: 6.75 kB / 1.519 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/3.357, allocations: 112.2 kB / 1.519 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/3.358, allocations: 159.1 kB / 1.52 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005365/3.359, allocations: 0.6619 MB / 1.52 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/3.36, allocations: 167.3 kB / 1.52 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/3.36, allocations: 32.61 kB / 1.52 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/3.36, allocations: 7.359 kB / 1.52 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004002/3.364, allocations: 1.033 MB / 1.521 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/3.364, allocations: 3.375 kB / 1.521 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/3.365, allocations: 109.7 kB / 1.522 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/3.365, allocations: 155.2 kB / 1.522 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005015/3.366, allocations: 0.6663 MB / 1.522 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/3.368, allocations: 146.4 kB / 1.522 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/3.368, allocations: 35.34 kB / 1.523 GB, free: 61.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002893/3.368, allocations: 147.4 kB / 1.523 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/3.368, allocations: 142.2 kB / 1.523 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/3.372, allocations: 1.169 MB / 1.524 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/3.372, allocations: 8.219 kB / 1.524 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/3.372, allocations: 0.7031 kB / 1.524 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003653/3.376, allocations: 1.055 MB / 1.525 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007259/3.383, allocations: 2.51 MB / 1.527 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/3.383, allocations: 6.75 kB / 1.527 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/3.384, allocations: 120.1 kB / 1.528 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/3.384, allocations: 106.5 kB / 1.528 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/3.384, allocations: 20.33 kB / 1.528 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/3.388, allocations: 2.241 MB / 1.53 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/3.388, allocations: 3.5 kB / 1.53 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/3.393, allocations: 1.76 MB / 1.532 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/3.394, allocations: 338.3 kB / 1.532 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/3.394, allocations: 21.02 kB / 1.532 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/3.395, allocations: 78.06 kB / 1.532 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/3.395, allocations: 55.64 kB / 1.532 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/3.396, allocations: 42.41 kB / 1.532 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001656/3.397, allocations: 0.8817 MB / 1.533 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/3.397, allocations: 0 / 1.533 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002747/3.4, allocations: 0.7983 MB / 1.534 GB, free: 58.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006253/3.406, allocations: 3.764 MB / 1.537 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001921/3.408, allocations: 0.9293 MB / 1.538 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/3.408, allocations: 0.8438 kB / 1.538 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/3.409, allocations: 0.5198 MB / 1.539 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/3.413, allocations: 0.7664 MB / 1.54 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/3.417, allocations: 2.095 MB / 1.542 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/3.418, allocations: 1.206 MB / 1.543 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001681/3.42, allocations: 391.9 kB / 1.543 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/3.42, allocations: 499.7 kB / 1.544 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.493e-06/3.42, allocations: 0 / 1.544 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07431/3.495, allocations: 49.85 MB / 1.592 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/3.495, allocations: 211.8 kB / 1.593 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/6.911, allocations: 0 / 1.593 GB, free: 52.23 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)