Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.002635/0.002635, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8622/0.8622, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 99.48 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.322e-05, allocations: 8 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5062, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8583/1.365, allocations: 396.3 MB / 1.021 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.365, allocations: 90.89 kB / 1.021 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.037/3.401, allocations: 0.5556 GB / 1.577 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/3.402, allocations: 0 / 1.577 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001488/3.402, allocations: 43.92 kB / 1.577 GB, free: 23.01 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.0039/3.406, allocations: 1.859 MB / 1.578 GB, free: 21.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/3.406, allocations: 8.031 kB / 1.579 GB, free: 21.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/3.41, allocations: 0.6652 MB / 1.579 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/3.414, allocations: 1.793 MB / 1.581 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/3.414, allocations: 83.98 kB / 1.581 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/3.414, allocations: 72 kB / 1.581 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/3.416, allocations: 1.028 MB / 1.582 GB, free: 17.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/3.418, allocations: 1.288 MB / 1.583 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/3.418, allocations: 7.922 kB / 1.583 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/3.418, allocations: 8 kB / 1.583 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/3.418, allocations: 46.17 kB / 1.583 GB, free: 15.93 MB / 0.6823 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.009696/3.428, allocations: 6.824 MB / 1.59 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/3.429, allocations: 0.5753 MB / 1.591 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/3.429, allocations: 326.5 kB / 1.591 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/3.43, allocations: 1.267 MB / 1.592 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/3.43, allocations: 43.12 kB / 1.592 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.957e-06/3.43, allocations: 0 / 1.592 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002726/3.433, allocations: 0.9397 MB / 1.593 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/3.433, allocations: 115.4 kB / 1.593 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/3.434, allocations: 0.963 MB / 1.594 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/3.434, allocations: 33.7 kB / 1.594 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/3.435, allocations: 0.7019 MB / 1.595 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/3.435, allocations: 220.7 kB / 1.595 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/3.435, allocations: 4 kB / 1.595 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/3.435, allocations: 337.9 kB / 1.595 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/3.436, allocations: 298.6 kB / 1.596 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/3.436, allocations: 0.5803 MB / 1.596 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/3.438, allocations: 489.9 kB / 1.597 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/3.438, allocations: 4 kB / 1.597 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00304/3.441, allocations: 1.201 MB / 1.598 GB, free: 220 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.5043/3.945, allocations: 2.461 MB / 1.6 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/3.945, allocations: 10.06 kB / 1.6 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/3.947, allocations: 446.5 kB / 1.601 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/3.949, allocations: 238.8 kB / 1.601 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/3.95, allocations: 1.136 MB / 1.602 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/3.953, allocations: 229.6 kB / 1.602 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/3.953, allocations: 54.02 kB / 1.602 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/3.953, allocations: 3.812 kB / 1.602 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003414/3.957, allocations: 1.038 MB / 1.603 GB, free: 95.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/3.957, allocations: 7.109 kB / 1.603 GB, free: 95.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/3.958, allocations: 448.2 kB / 1.604 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/3.959, allocations: 242.2 kB / 1.604 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/3.961, allocations: 1.139 MB / 1.605 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/3.963, allocations: 189.8 kB / 1.605 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/3.964, allocations: 60.53 kB / 1.605 GB, free: 95.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0004081/3.964, allocations: 126 kB / 1.606 GB, free: 94.94 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003041/3.967, allocations: 0.9377 MB / 1.606 GB, free: 94.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/3.967, allocations: 126 kB / 1.607 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/3.972, allocations: 1.112 MB / 1.608 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/3.972, allocations: 10.5 kB / 1.608 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/3.972, allocations: 0 / 1.608 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003803/3.976, allocations: 1.016 MB / 1.609 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006101/3.982, allocations: 3.02 MB / 1.612 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/3.982, allocations: 9.5 kB / 1.612 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/3.983, allocations: 146.5 kB / 1.612 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008645/3.983, allocations: 437.4 kB / 1.612 GB, free: 93.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/3.984, allocations: 21.45 kB / 1.612 GB, free: 93.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/3.985, allocations: 1.129 MB / 1.613 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/3.985, allocations: 6.625 kB / 1.613 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/3.988, allocations: 1.339 MB / 1.615 GB, free: 92.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/3.988, allocations: 372.2 kB / 1.615 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/3.988, allocations: 7.344 kB / 1.615 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/3.99, allocations: 131.2 kB / 1.615 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/3.99, allocations: 57.62 kB / 1.615 GB, free: 92.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/3.99, allocations: 41.59 kB / 1.615 GB, free: 92.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001026/3.991, allocations: 0.7361 MB / 1.616 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/3.991, allocations: 0 / 1.616 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003081/3.994, allocations: 0.9804 MB / 1.617 GB, free: 92.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004811/3.999, allocations: 3.61 MB / 1.62 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002512/4.002, allocations: 1.29 MB / 1.622 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/4.002, allocations: 3.781 kB / 1.622 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/4.002, allocations: 373.1 kB / 1.622 GB, free: 90.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/4.005, allocations: 0.5833 MB / 1.623 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/4.011, allocations: 2.174 MB / 1.625 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/4.012, allocations: 1.238 MB / 1.626 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002049/4.014, allocations: 370.8 kB / 1.626 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/4.015, allocations: 0.5252 MB / 1.627 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/4.015, allocations: 1.125 kB / 1.627 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0775/4.093, allocations: 46.41 MB / 1.672 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/4.093, allocations: 170.1 kB / 1.672 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.757/7.85, allocations: 4 kB / 1.672 GB, free: 86.77 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)