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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00123/0.00123, 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-master/package.mo): time 0.7365/0.7365, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.683/1.683, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.001068/0.001068, allocations: 98.06 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.158e-05, allocations: 3.781 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.18, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.422, allocations: 396.6 MB / 1.028 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/1.422, allocations: 90.08 kB / 1.028 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.874/3.296, allocations: 0.5581 GB / 1.586 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/3.296, allocations: 0 / 1.586 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002505/3.297, allocations: 42.44 kB / 1.586 GB, free: 103.2 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.004283/3.301, allocations: 1.842 MB / 1.588 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/3.301, allocations: 18.3 kB / 1.588 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/3.305, allocations: 0.6116 MB / 1.588 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/3.308, allocations: 1.784 MB / 1.59 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/3.308, allocations: 129.9 kB / 1.59 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/3.309, allocations: 117.5 kB / 1.59 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/3.311, allocations: 1.432 MB / 1.592 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/3.311, allocations: 2.062 kB / 1.592 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/3.311, allocations: 56.42 kB / 1.592 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/3.311, allocations: 52.25 kB / 1.592 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/3.313, allocations: 1.082 MB / 1.593 GB, free: 101.6 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.008556/3.321, allocations: 6.987 MB / 1.6 GB, free: 98.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/3.322, allocations: 0.5839 MB / 1.6 GB, free: 98.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/3.323, allocations: 330 kB / 1.601 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/3.324, allocations: 1.261 MB / 1.602 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/3.324, allocations: 47.95 kB / 1.602 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.565e-06/3.324, allocations: 0 / 1.602 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.001419/3.325, allocations: 0.8081 MB / 1.603 GB, free: 96.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/3.325, allocations: 111.3 kB / 1.603 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/3.326, allocations: 1.224 MB / 1.604 GB, free: 96.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/3.327, allocations: 44.5 kB / 1.604 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/3.327, allocations: 0.7055 MB / 1.605 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/3.327, allocations: 226.5 kB / 1.605 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/3.327, allocations: 19.69 kB / 1.605 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/3.327, allocations: 334.7 kB / 1.605 GB, free: 95.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/3.328, allocations: 295.4 kB / 1.606 GB, free: 95.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/3.328, allocations: 0.5798 MB / 1.606 GB, free: 95.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/3.329, allocations: 361.4 kB / 1.606 GB, free: 95.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/3.329, allocations: 3.953 kB / 1.606 GB, free: 95.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001663/3.331, allocations: 1.123 MB / 1.608 GB, free: 95.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004019/3.331, allocations: 2.492 MB / 1.61 GB, free: 92.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/3.331, allocations: 6.688 kB / 1.61 GB, free: 92.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/3.332, allocations: 444.5 kB / 1.61 GB, free: 92.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/3.334, allocations: 244.5 kB / 1.611 GB, free: 92.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009547/3.335, allocations: 1.021 MB / 1.612 GB, free: 92.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/3.337, allocations: 267.4 kB / 1.612 GB, free: 92.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/3.337, allocations: 51.27 kB / 1.612 GB, free: 92.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/3.337, allocations: 7.438 kB / 1.612 GB, free: 92.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001498/3.338, allocations: 0.9609 MB / 1.613 GB, free: 92.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/3.338, allocations: 9.938 kB / 1.613 GB, free: 92.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/3.34, allocations: 435.3 kB / 1.613 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/3.341, allocations: 243.6 kB / 1.614 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009649/3.342, allocations: 1.015 MB / 1.615 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/3.344, allocations: 235.9 kB / 1.615 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/3.344, allocations: 51.98 kB / 1.615 GB, free: 91.54 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.0003094/3.344, allocations: 166.5 kB / 1.615 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/3.344, allocations: 145.9 kB / 1.615 GB, free: 91.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/3.346, allocations: 0.9342 MB / 1.616 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/3.346, allocations: 6.438 kB / 1.616 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/3.346, allocations: 3.969 kB / 1.616 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/3.347, allocations: 0.8058 MB / 1.617 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/3.352, allocations: 3.011 MB / 1.62 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/3.352, allocations: 3.938 kB / 1.62 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/3.353, allocations: 159.8 kB / 1.62 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/3.355, allocations: 408.7 kB / 1.62 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/3.355, allocations: 28.8 kB / 1.62 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/3.356, allocations: 1.094 MB / 1.621 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/3.356, allocations: 7 kB / 1.621 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/3.358, allocations: 1.257 MB / 1.623 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/3.359, allocations: 386.8 kB / 1.623 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/3.359, allocations: 17.44 kB / 1.623 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/3.361, allocations: 142.5 kB / 1.623 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/3.361, allocations: 51.23 kB / 1.623 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/3.361, allocations: 45.42 kB / 1.623 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001463/3.363, allocations: 0.9543 MB / 1.624 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/3.363, allocations: 2.75 kB / 1.624 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003125/3.366, allocations: 0.9758 MB / 1.625 GB, free: 88.51 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.001781/3.368, allocations: 0.881 MB / 1.626 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002553/3.37, allocations: 1.325 MB / 1.627 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/3.37, allocations: 0 / 1.627 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/3.372, allocations: 483.3 kB / 1.628 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/3.375, allocations: 0.7745 MB / 1.629 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/3.379, allocations: 1.797 MB / 1.63 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/3.379, allocations: 1.237 MB / 1.632 GB, free: 86.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002068/3.381, allocations: 432.8 kB / 1.632 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/3.382, allocations: 94.02 kB / 1.632 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/3.382, allocations: 0 / 1.632 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.05859/3.44, allocations: 42.12 MB / 1.673 GB, free: 81.93 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)