Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_dev_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.002014/0.002014, allocations: 173.9 kB / 7.648 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.9093/0.9093, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.739/1.739, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0009447/0.000945, allocations: 100.2 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.78e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5636, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9427/1.506, allocations: 396.3 MB / 1.021 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.507, allocations: 87.14 kB / 1.021 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.052/3.559, allocations: 0.5556 GB / 1.577 GB, free: 22.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/3.559, allocations: 0 / 1.577 GB, free: 22.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000152/3.559, allocations: 47.92 kB / 1.577 GB, free: 22.93 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.004917/3.564, allocations: 1.861 MB / 1.579 GB, free: 21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/3.564, allocations: 8.031 kB / 1.579 GB, free: 21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/3.569, allocations: 0.6613 MB / 1.579 GB, free: 20.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/3.573, allocations: 1.797 MB / 1.581 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/3.573, allocations: 83.98 kB / 1.581 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/3.573, allocations: 68 kB / 1.581 GB, free: 18.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001799/3.575, allocations: 1.028 MB / 1.582 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/3.577, allocations: 1.293 MB / 1.583 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/3.577, allocations: 4 kB / 1.583 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/3.577, allocations: 4 kB / 1.583 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/3.577, allocations: 54.09 kB / 1.583 GB, free: 15.84 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.01079/3.588, allocations: 6.824 MB / 1.59 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/3.589, allocations: 0.5795 MB / 1.591 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/3.59, allocations: 326.5 kB / 1.591 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/3.591, allocations: 1.263 MB / 1.592 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/3.591, allocations: 51.06 kB / 1.592 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.416e-06/3.591, allocations: 0 / 1.592 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002877/3.594, allocations: 0.9356 MB / 1.593 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/3.594, allocations: 111.4 kB / 1.593 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/3.595, allocations: 0.9708 MB / 1.594 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/3.596, allocations: 33.7 kB / 1.594 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006025/3.596, allocations: 0.7019 MB / 1.595 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/3.596, allocations: 224.7 kB / 1.595 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/3.596, allocations: 3.938 kB / 1.595 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/3.596, allocations: 333.9 kB / 1.595 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/3.597, allocations: 302.6 kB / 1.596 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/3.598, allocations: 0.5771 MB / 1.596 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/3.599, allocations: 489.8 kB / 1.597 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/3.599, allocations: 4 kB / 1.597 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003059/3.602, allocations: 1.197 MB / 1.598 GB, free: 132 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.5769/4.179, allocations: 2.46 MB / 1.6 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/4.179, allocations: 6.25 kB / 1.6 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/4.181, allocations: 442.4 kB / 1.601 GB, free: 96.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/4.182, allocations: 241.7 kB / 1.601 GB, free: 96.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/4.184, allocations: 1.14 MB / 1.602 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/4.187, allocations: 223 kB / 1.602 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/4.187, allocations: 55.12 kB / 1.602 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/4.187, allocations: 3.562 kB / 1.602 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003562/4.191, allocations: 1.043 MB / 1.603 GB, free: 95.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/4.191, allocations: 10.33 kB / 1.603 GB, free: 95.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/4.192, allocations: 439.9 kB / 1.604 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/4.193, allocations: 245.9 kB / 1.604 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/4.195, allocations: 1.14 MB / 1.605 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/4.197, allocations: 188.7 kB / 1.605 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/4.197, allocations: 54.67 kB / 1.605 GB, free: 95.07 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.0003857/4.198, allocations: 127.7 kB / 1.606 GB, free: 94.97 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002851/4.201, allocations: 0.9386 MB / 1.606 GB, free: 94.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/4.201, allocations: 123.7 kB / 1.607 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/4.205, allocations: 1.109 MB / 1.608 GB, free: 94.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/4.205, allocations: 6.328 kB / 1.608 GB, free: 94.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/4.205, allocations: 3.953 kB / 1.608 GB, free: 94.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003922/4.209, allocations: 1.02 MB / 1.609 GB, free: 94.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/4.216, allocations: 3.017 MB / 1.612 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/4.217, allocations: 5.188 kB / 1.612 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/4.217, allocations: 148.5 kB / 1.612 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009005/4.218, allocations: 437.2 kB / 1.612 GB, free: 93.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/4.218, allocations: 21.25 kB / 1.612 GB, free: 93.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/4.22, allocations: 1.124 MB / 1.613 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/4.22, allocations: 5.312 kB / 1.613 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/4.223, allocations: 1.342 MB / 1.615 GB, free: 92.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007635/4.224, allocations: 373.7 kB / 1.615 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/4.224, allocations: 7.484 kB / 1.615 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/4.226, allocations: 129.3 kB / 1.615 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/4.226, allocations: 51.02 kB / 1.615 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/4.226, allocations: 45.17 kB / 1.615 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001269/4.227, allocations: 0.7373 MB / 1.616 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/4.227, allocations: 0 / 1.616 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004007/4.231, allocations: 0.984 MB / 1.617 GB, free: 92.26 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.005248/4.236, allocations: 3.615 MB / 1.62 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002898/4.239, allocations: 1.291 MB / 1.622 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/4.239, allocations: 0 / 1.622 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/4.24, allocations: 377.1 kB / 1.622 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/4.243, allocations: 0.577 MB / 1.623 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/4.25, allocations: 2.169 MB / 1.625 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/4.251, allocations: 1.24 MB / 1.626 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002292/4.253, allocations: 372 kB / 1.626 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/4.254, allocations: 0.5174 MB / 1.627 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/4.254, allocations: 1.875 kB / 1.627 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08741/4.342, allocations: 46.43 MB / 1.672 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/4.342, allocations: 181 kB / 1.672 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.039/8.381, allocations: 0 / 1.672 GB, free: 86.82 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)