Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7099/0.7099, allocations: 130.5 MB / 143.8 MB, free: 13.6 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 396.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 102 kB / 479 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.585e-05, allocations: 2.906 kB / 0.5551 GB, free: 86.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 81.59 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.428, allocations: 396.4 MB / 1.022 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.428, allocations: 87.89 kB / 1.022 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.897/3.325, allocations: 0.5581 GB / 1.58 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.042e-06/3.325, allocations: 3.625 kB / 1.58 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001325/3.325, allocations: 40.73 kB / 1.58 GB, free: 101.9 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.003609/3.329, allocations: 1.847 MB / 1.582 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/3.329, allocations: 8.469 kB / 1.582 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/3.333, allocations: 0.6125 MB / 1.582 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/3.337, allocations: 1.781 MB / 1.584 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/3.337, allocations: 130.9 kB / 1.584 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/3.337, allocations: 118.7 kB / 1.584 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/3.34, allocations: 1.437 MB / 1.586 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/3.34, allocations: 6.812 kB / 1.586 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/3.34, allocations: 49 kB / 1.586 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/3.34, allocations: 49.88 kB / 1.586 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/3.342, allocations: 1.084 MB / 1.587 GB, free: 100.4 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.008933/3.351, allocations: 6.989 MB / 1.594 GB, free: 97.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/3.352, allocations: 0.5854 MB / 1.594 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/3.352, allocations: 325.5 kB / 1.595 GB, free: 97.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009926/3.353, allocations: 1.272 MB / 1.596 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/3.354, allocations: 43.78 kB / 1.596 GB, free: 95.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.635e-06/3.354, allocations: 0 / 1.596 GB, free: 95.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.001482/3.355, allocations: 0.8159 MB / 1.597 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/3.355, allocations: 107.3 kB / 1.597 GB, free: 95.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/3.357, allocations: 1.224 MB / 1.598 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/3.357, allocations: 45.81 kB / 1.598 GB, free: 95.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/3.357, allocations: 0.6967 MB / 1.599 GB, free: 95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/3.357, allocations: 226 kB / 1.599 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/3.357, allocations: 16.5 kB / 1.599 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/3.357, allocations: 340.5 kB / 1.599 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/3.358, allocations: 294.8 kB / 1.6 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/3.358, allocations: 0.5788 MB / 1.6 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/3.359, allocations: 371.8 kB / 1.601 GB, free: 94.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/3.359, allocations: 3.953 kB / 1.601 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001741/3.361, allocations: 1.113 MB / 1.602 GB, free: 94.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/3.361, allocations: 2.492 MB / 1.604 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/3.361, allocations: 9.547 kB / 1.604 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/3.363, allocations: 433.8 kB / 1.605 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/3.364, allocations: 243.8 kB / 1.605 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009983/3.365, allocations: 1.023 MB / 1.606 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/3.367, allocations: 267 kB / 1.606 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/3.367, allocations: 58.84 kB / 1.606 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/3.367, allocations: 4.844 kB / 1.606 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001531/3.369, allocations: 0.9596 MB / 1.607 GB, free: 90.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/3.369, allocations: 14.59 kB / 1.607 GB, free: 90.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/3.37, allocations: 436.7 kB / 1.607 GB, free: 90.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/3.371, allocations: 241.9 kB / 1.608 GB, free: 90.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/3.372, allocations: 1.019 MB / 1.609 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/3.374, allocations: 239.8 kB / 1.609 GB, free: 90.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/3.374, allocations: 57.8 kB / 1.609 GB, free: 90.33 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.0002804/3.375, allocations: 162.3 kB / 1.609 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/3.375, allocations: 146.2 kB / 1.609 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/3.377, allocations: 0.9335 MB / 1.61 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/3.377, allocations: 3.281 kB / 1.61 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/3.377, allocations: 5.969 kB / 1.61 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/3.378, allocations: 0.8068 MB / 1.611 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/3.382, allocations: 3.002 MB / 1.614 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/3.382, allocations: 6.688 kB / 1.614 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008649/3.383, allocations: 154.9 kB / 1.614 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/3.384, allocations: 410.2 kB / 1.614 GB, free: 88.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/3.385, allocations: 31.52 kB / 1.614 GB, free: 88.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/3.386, allocations: 1.09 MB / 1.616 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/3.386, allocations: 10.8 kB / 1.616 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/3.388, allocations: 1.253 MB / 1.617 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/3.388, allocations: 388.1 kB / 1.617 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/3.389, allocations: 19.16 kB / 1.617 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/3.39, allocations: 136.2 kB / 1.617 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/3.39, allocations: 55 kB / 1.617 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/3.39, allocations: 45.48 kB / 1.617 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00128/3.392, allocations: 0.959 MB / 1.618 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/3.392, allocations: 0 / 1.618 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002579/3.394, allocations: 0.9789 MB / 1.619 GB, free: 87.3 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.001681/3.396, allocations: 0.8838 MB / 1.62 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00253/3.398, allocations: 1.329 MB / 1.621 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/3.398, allocations: 3.969 kB / 1.621 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/3.4, allocations: 474.3 kB / 1.622 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/3.404, allocations: 0.7726 MB / 1.623 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/3.407, allocations: 1.787 MB / 1.624 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/3.408, allocations: 1.242 MB / 1.626 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00222/3.41, allocations: 430.2 kB / 1.626 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/3.41, allocations: 97.89 kB / 1.626 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.723e-06/3.41, allocations: 0 / 1.626 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of Templates: time 0.05906/3.469, allocations: 42.12 MB / 1.667 GB, free: 83.48 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)