Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001257/0.001257, allocations: 118.6 kB / 16.42 MB, free: 6.441 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.001249/0.001249, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.844/0.844, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 58.28 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4625/0.6115, allocations: 130.8 MB / 0.7881 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.6457, allocations: 25.04 MB / 0.8126 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.6508, allocations: 140.5 kB / 0.8127 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.6553, allocations: 1.789 MB / 0.8144 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.6672, allocations: 4.766 MB / 0.8191 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008562/0.6757, allocations: 3.518 MB / 0.8225 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.6876, allocations: 9.025 MB / 0.8313 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005223/0.6929, allocations: 3.217 MB / 0.8345 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008701/0.7016, allocations: 3.54 MB / 0.8379 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/0.7064, allocations: 2.482 MB / 0.8404 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.7076, allocations: 391.9 kB / 0.8407 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007389/0.715, allocations: 2.894 MB / 0.8436 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.7164, allocations: 0.8838 MB / 0.8444 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003738/0.7202, allocations: 1.995 MB / 0.8464 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.7305, allocations: 6.383 MB / 0.8526 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7305, allocations: 0 / 0.8526 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7305, allocations: 0 / 0.8526 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001514/0.7307, allocations: 4 kB / 0.8526 GB, free: 7.547 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.008849/0.7395, allocations: 4.095 MB / 0.8566 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7396, allocations: 8.031 kB / 0.8566 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.75, allocations: 1.295 MB / 0.8579 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/0.7556, allocations: 2.975 MB / 0.8608 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.7558, allocations: 256 kB / 0.861 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005688/0.7564, allocations: 235.9 kB / 0.8613 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008014/0.7644, allocations: 3.16 MB / 0.8643 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.7645, allocations: 7.938 kB / 0.8643 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.7648, allocations: 103.9 kB / 0.8644 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-05/0.7649, allocations: 79.91 kB / 0.8645 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008767/0.7737, allocations: 2.749 MB / 0.8672 GB, free: 8.191 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.01985/0.7936, allocations: 13.56 MB / 0.8804 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.7978, allocations: 1.407 MB / 0.8818 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/0.8008, allocations: 0.8534 MB / 0.8827 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.8026, allocations: 1.781 MB / 0.8844 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003592/0.8062, allocations: 1.128 MB / 0.8855 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 4.629e-06/0.8062, allocations: 0 / 0.8855 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.03375/0.84, allocations: 9.541 MB / 0.8948 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/0.8402, allocations: 0.5688 MB / 0.8954 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/0.8453, allocations: 2.651 MB / 0.898 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003634/0.8457, allocations: 69.7 kB / 0.898 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.847, allocations: 1.335 MB / 0.8993 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007143/0.8477, allocations: 465.4 kB / 0.8998 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009886/0.8487, allocations: 470.8 kB / 0.9002 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.8488, allocations: 305.1 kB / 0.9005 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/0.8525, allocations: 0.9337 MB / 0.9014 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/0.8566, allocations: 1.53 MB / 0.9029 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006812/0.8634, allocations: 2.158 MB / 0.905 GB, free: 15.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.8635, allocations: 4 kB / 0.905 GB, free: 15.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01203/0.8755, allocations: 3.089 MB / 0.908 GB, free: 12.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.8756, allocations: 41.69 kB / 0.9081 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.8756, allocations: 15.94 kB / 0.9081 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/0.8787, allocations: 0.9093 MB / 0.909 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.8814, allocations: 467.2 kB / 0.9094 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.8846, allocations: 2.157 MB / 0.9115 GB, free: 8.816 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/0.8891, allocations: 283.6 kB / 0.9118 GB, free: 8.539 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/0.8895, allocations: 103.9 kB / 0.9119 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004722/0.8942, allocations: 1.434 MB / 0.9133 GB, free: 7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004169/0.8984, allocations: 1.503 MB / 0.9148 GB, free: 5.258 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006937/0.9054, allocations: 2.13 MB / 0.9169 GB, free: 2.953 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.073e-05/0.9054, allocations: 4 kB / 0.9169 GB, free: 2.949 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01192/0.9173, allocations: 3.07 MB / 0.9199 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.9174, allocations: 45.91 kB / 0.9199 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.9174, allocations: 12 kB / 0.9199 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.9205, allocations: 0.9167 MB / 0.9208 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/0.9232, allocations: 459.2 kB / 0.9212 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.9263, allocations: 2.167 MB / 0.9234 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/0.9309, allocations: 292 kB / 0.9236 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/0.9313, allocations: 104.2 kB / 0.9237 GB, free: 11.82 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.0007004/0.932, allocations: 296.4 kB / 0.924 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009852/0.933, allocations: 288.6 kB / 0.9243 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007894/0.9409, allocations: 2.235 MB / 0.9265 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006426/0.9474, allocations: 1.858 MB / 0.9283 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.9474, allocations: 4 kB / 0.9283 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.949, allocations: 0.5681 MB / 0.9289 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008497/0.9499, allocations: 32 kB / 0.9289 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003369/0.9532, allocations: 215.4 kB / 0.9291 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.9535, allocations: 92.86 kB / 0.9292 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01106/0.9646, allocations: 3.063 MB / 0.9322 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01051/0.9751, allocations: 3.618 MB / 0.9357 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002979/0.9781, allocations: 0.8376 MB / 0.9365 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004383/0.9825, allocations: 1.843 MB / 0.9383 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of Backend: time 5.21e-07/0.9825, allocations: 0 / 0.9383 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01485/0.9974, allocations: 3.949 MB / 0.9422 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01343/1.011, allocations: 6.379 MB / 0.9484 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of Templates: time 0.1305/1.141, allocations: 90.49 MB / 1.037 GB, free: 8.449 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)