Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.001477/0.001477, 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.8415/0.8415, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.496/1.496, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.001026/0.001026, allocations: 107.7 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.229e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.518, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8602/1.378, allocations: 395.9 MB / 1.021 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.379, allocations: 94.5 kB / 1.021 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.881/3.26, allocations: 0.5555 GB / 1.576 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.913e-06/3.26, allocations: 4 kB / 1.576 GB, free: 23.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001588/3.26, allocations: 39.92 kB / 1.576 GB, free: 23.54 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003726/3.263, allocations: 1.857 MB / 1.578 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/3.264, allocations: 12.03 kB / 1.578 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004004/3.268, allocations: 0.6067 MB / 1.579 GB, free: 21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/3.271, allocations: 1.781 MB / 1.58 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/3.271, allocations: 87.95 kB / 1.58 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/3.271, allocations: 68 kB / 1.58 GB, free: 19.01 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001624/3.272, allocations: 0.9964 MB / 1.581 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/3.274, allocations: 1.268 MB / 1.583 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/3.274, allocations: 7.938 kB / 1.583 GB, free: 16.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/3.274, allocations: 4 kB / 1.583 GB, free: 16.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/3.274, allocations: 46.14 kB / 1.583 GB, free: 16.58 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.008161/3.283, allocations: 6.726 MB / 1.589 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/3.283, allocations: 0.5595 MB / 1.59 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/3.284, allocations: 306.5 kB / 1.59 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/3.285, allocations: 1.263 MB / 1.591 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/3.285, allocations: 47.12 kB / 1.591 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.555e-06/3.285, allocations: 0 / 1.591 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.002543/3.288, allocations: 0.8782 MB / 1.592 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/3.288, allocations: 111.3 kB / 1.592 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/3.289, allocations: 0.9631 MB / 1.593 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/3.289, allocations: 29.7 kB / 1.593 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/3.289, allocations: 0.7174 MB / 1.594 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/3.29, allocations: 216.8 kB / 1.594 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/3.29, allocations: 0 / 1.594 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/3.29, allocations: 341.9 kB / 1.595 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/3.29, allocations: 286.6 kB / 1.595 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/3.291, allocations: 0.5608 MB / 1.595 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/3.293, allocations: 469.7 kB / 1.596 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/3.293, allocations: 4 kB / 1.596 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003066/3.296, allocations: 1.147 MB / 1.597 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.437/3.733, allocations: 2.46 MB / 1.599 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/3.733, allocations: 7.453 kB / 1.599 GB, free: 96.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/3.734, allocations: 354.2 kB / 1.6 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/3.735, allocations: 247.6 kB / 1.6 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/3.737, allocations: 1.078 MB / 1.601 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/3.74, allocations: 210.6 kB / 1.601 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/3.74, allocations: 57.81 kB / 1.601 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/3.74, allocations: 3.656 kB / 1.601 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003152/3.743, allocations: 0.9984 MB / 1.602 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/3.743, allocations: 7.359 kB / 1.602 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009019/3.744, allocations: 351.1 kB / 1.603 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/3.745, allocations: 244.6 kB / 1.603 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/3.747, allocations: 1.071 MB / 1.604 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/3.749, allocations: 177.8 kB / 1.604 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/3.749, allocations: 55.14 kB / 1.604 GB, free: 95.86 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003443/3.749, allocations: 124.4 kB / 1.604 GB, free: 95.76 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002784/3.752, allocations: 0.8841 MB / 1.605 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/3.752, allocations: 124.7 kB / 1.605 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/3.755, allocations: 0.9669 MB / 1.606 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/3.755, allocations: 17.08 kB / 1.606 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/3.755, allocations: 3.281 kB / 1.606 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/3.758, allocations: 0.8806 MB / 1.607 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/3.764, allocations: 2.905 MB / 1.61 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/3.764, allocations: 5.75 kB / 1.61 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/3.765, allocations: 152.9 kB / 1.61 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007068/3.765, allocations: 356.7 kB / 1.61 GB, free: 94.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/3.765, allocations: 22.84 kB / 1.61 GB, free: 94.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/3.767, allocations: 1.138 MB / 1.611 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/3.767, allocations: 10.36 kB / 1.611 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/3.77, allocations: 1.285 MB / 1.613 GB, free: 93.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/3.771, allocations: 363.5 kB / 1.613 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/3.771, allocations: 9.406 kB / 1.613 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/3.772, allocations: 120.4 kB / 1.613 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/3.772, allocations: 55.56 kB / 1.613 GB, free: 93.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/3.772, allocations: 43.58 kB / 1.613 GB, free: 93.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00101/3.773, allocations: 0.7364 MB / 1.614 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/3.773, allocations: 0 / 1.614 GB, free: 93.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003083/3.777, allocations: 0.9767 MB / 1.615 GB, free: 93.07 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004612/3.781, allocations: 3.549 MB / 1.618 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002305/3.784, allocations: 1.237 MB / 1.62 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/3.784, allocations: 2.625 kB / 1.62 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/3.785, allocations: 447.5 kB / 1.62 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/3.787, allocations: 0.5714 MB / 1.621 GB, free: 90.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/3.793, allocations: 2.082 MB / 1.623 GB, free: 90.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/3.794, allocations: 1.238 MB / 1.624 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001893/3.796, allocations: 368 kB / 1.624 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/3.796, allocations: 0.5223 MB / 1.625 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of SimCode: time 6.82e-07/3.796, allocations: 0 / 1.625 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07866/3.875, allocations: 45.03 MB / 1.669 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/3.875, allocations: 180.4 kB / 1.669 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.557/7.432, allocations: 0 / 1.669 GB, free: 87.72 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)