Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 119 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7613/0.7613, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001155, allocations: 63.09 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1297, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4115/0.5412, allocations: 130.8 MB / 0.7931 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02798/0.5693, allocations: 25.05 MB / 0.8175 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00474/0.574, allocations: 139.3 kB / 0.8177 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004327/0.5784, allocations: 1.793 MB / 0.8194 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/0.5907, allocations: 4.764 MB / 0.8241 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008588/0.5993, allocations: 3.524 MB / 0.8275 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.6103, allocations: 9.031 MB / 0.8363 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005053/0.6154, allocations: 3.207 MB / 0.8394 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00846/0.6239, allocations: 3.547 MB / 0.8429 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.6288, allocations: 2.488 MB / 0.8453 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.6301, allocations: 388 kB / 0.8457 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007234/0.6374, allocations: 2.894 MB / 0.8485 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.6387, allocations: 0.8838 MB / 0.8494 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003704/0.6424, allocations: 1.995 MB / 0.8514 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.6527, allocations: 6.387 MB / 0.8576 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6527, allocations: 0 / 0.8576 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6527, allocations: 4 kB / 0.8576 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001444/0.6529, allocations: 0 / 0.8576 GB, free: 0.7305 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.007585/0.6605, allocations: 4.099 MB / 0.8616 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6605, allocations: 9.109 kB / 0.8616 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009644/0.6702, allocations: 1.283 MB / 0.8629 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.6754, allocations: 2.98 MB / 0.8658 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.6757, allocations: 260 kB / 0.866 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/0.676, allocations: 235.9 kB / 0.8662 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007247/0.6833, allocations: 3.156 MB / 0.8693 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.6834, allocations: 7.938 kB / 0.8693 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.6837, allocations: 107.9 kB / 0.8694 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.613e-05/0.6837, allocations: 71.92 kB / 0.8695 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008691/0.6924, allocations: 2.749 MB / 0.8722 GB, free: 1.383 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02114/0.7136, allocations: 13.55 MB / 0.8854 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/0.7177, allocations: 1.408 MB / 0.8868 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/0.7205, allocations: 0.8575 MB / 0.8876 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.7222, allocations: 1.781 MB / 0.8894 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003355/0.7255, allocations: 1.125 MB / 0.8905 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=126): time 5.35e-06/0.7256, allocations: 0 / 0.8905 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132): time 0.0331/0.7587, allocations: 9.541 MB / 0.8998 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002819/0.759, allocations: 0.5766 MB / 0.9004 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/0.764, allocations: 2.651 MB / 0.9029 GB, free: 460 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/0.7644, allocations: 57.7 kB / 0.903 GB, free: 396 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.7657, allocations: 1.337 MB / 0.9043 GB, free: 15.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000619/0.7664, allocations: 453.5 kB / 0.9047 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.7674, allocations: 466.9 kB / 0.9052 GB, free: 14.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.7675, allocations: 309.1 kB / 0.9055 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/0.7712, allocations: 0.9337 MB / 0.9064 GB, free: 12.88 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/0.7752, allocations: 1.522 MB / 0.9079 GB, free: 11.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006606/0.7818, allocations: 2.161 MB / 0.91 GB, free: 8.773 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.7818, allocations: 4 kB / 0.91 GB, free: 8.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01121/0.793, allocations: 3.097 MB / 0.913 GB, free: 5.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.7931, allocations: 41.7 kB / 0.9131 GB, free: 5.602 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.7931, allocations: 12.25 kB / 0.9131 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.7961, allocations: 0.9142 MB / 0.914 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.7986, allocations: 467.2 kB / 0.9144 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.8015, allocations: 2.168 MB / 0.9165 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.8056, allocations: 283.5 kB / 0.9168 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.8059, allocations: 107.8 kB / 0.9169 GB, free: 1.617 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00438/0.8103, allocations: 1.429 MB / 0.9183 GB, free: 188 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003909/0.8142, allocations: 1.515 MB / 0.9198 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00658/0.8208, allocations: 2.126 MB / 0.9218 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.475e-05/0.8209, allocations: 4 kB / 0.9218 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.0114/0.8323, allocations: 3.066 MB / 0.9248 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.8324, allocations: 41.7 kB / 0.9249 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.8324, allocations: 12 kB / 0.9249 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/0.8353, allocations: 0.9121 MB / 0.9258 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.8378, allocations: 471.2 kB / 0.9262 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.8408, allocations: 2.163 MB / 0.9283 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/0.8451, allocations: 288 kB / 0.9286 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/0.8454, allocations: 111.8 kB / 0.9287 GB, free: 4.996 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006121/0.846, allocations: 295.8 kB / 0.929 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008474/0.8469, allocations: 284.6 kB / 0.9293 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007362/0.8543, allocations: 2.24 MB / 0.9315 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005999/0.8603, allocations: 1.861 MB / 0.9333 GB, free: 244 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.8603, allocations: 0 / 0.9333 GB, free: 244 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/0.8618, allocations: 0.5718 MB / 0.9338 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007226/0.8626, allocations: 28 kB / 0.9339 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/0.8657, allocations: 207.7 kB / 0.9341 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.8659, allocations: 92.88 kB / 0.9342 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01039/0.8763, allocations: 3.053 MB / 0.9371 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01018/0.8865, allocations: 3.622 MB / 0.9407 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002882/0.8895, allocations: 0.8495 MB / 0.9415 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003727/0.8932, allocations: 1.839 MB / 0.9433 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of Backend: time 7.52e-07/0.8932, allocations: 0 / 0.9433 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01461/0.9078, allocations: 3.94 MB / 0.9471 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01295/0.9208, allocations: 6.369 MB / 0.9534 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.1285/1.049, allocations: 90.51 MB / 1.042 GB, free: 1.621 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)