Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 117.9 kB / 16.42 MB, free: 6.496 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.001145/0.001146, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.301/1.301, 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.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 62.81 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 80.2 MB / 0.6604 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4376/0.5925, allocations: 126.1 MB / 0.7835 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02307/0.6156, allocations: 15.41 MB / 0.7986 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.6193, allocations: 73.88 kB / 0.7986 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.6217, allocations: 0.9882 MB / 0.7996 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007691/0.6295, allocations: 2.734 MB / 0.8023 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005316/0.6348, allocations: 2.135 MB / 0.8043 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005876/0.6407, allocations: 4.799 MB / 0.809 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.6432, allocations: 1.701 MB / 0.8107 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.647, allocations: 1.884 MB / 0.8125 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.65, allocations: 1.334 MB / 0.8138 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004873/0.6505, allocations: 204.5 kB / 0.814 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/0.6552, allocations: 2.047 MB / 0.816 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006865/0.6559, allocations: 0.5032 MB / 0.8165 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.6577, allocations: 1.086 MB / 0.8176 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.6634, allocations: 3.7 MB / 0.8212 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6634, allocations: 0 / 0.8212 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6634, allocations: 0 / 0.8212 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.995e-05/0.6635, allocations: 0 / 0.8212 GB, free: 4.414 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003744/0.6672, allocations: 2.457 MB / 0.8236 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6673, allocations: 6.25 kB / 0.8236 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.6726, allocations: 0.7171 MB / 0.8243 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.6751, allocations: 1.688 MB / 0.826 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.6752, allocations: 138.2 kB / 0.8261 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6754, allocations: 123.3 kB / 0.8262 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.6789, allocations: 1.723 MB / 0.8279 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.6789, allocations: 4 kB / 0.8279 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.6791, allocations: 58.44 kB / 0.8279 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.6791, allocations: 47.17 kB / 0.828 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.6836, allocations: 1.5 MB / 0.8295 GB, free: 14.84 MB / 0.5919 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.009565/0.6932, allocations: 7.533 MB / 0.8368 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.6973, allocations: 1.155 MB / 0.8379 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.6993, allocations: 0.5966 MB / 0.8385 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.7006, allocations: 1.275 MB / 0.8398 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/0.7029, allocations: 0.6951 MB / 0.8404 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/0.7029, allocations: 0 / 0.8404 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01771/0.7206, allocations: 3.163 MB / 0.8435 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.7207, allocations: 141.1 kB / 0.8437 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.7223, allocations: 1.292 MB / 0.8449 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.7225, allocations: 49.7 kB / 0.845 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.7231, allocations: 0.723 MB / 0.8457 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.7233, allocations: 284 kB / 0.846 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.7237, allocations: 214.4 kB / 0.8462 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7238, allocations: 349.9 kB / 0.8465 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.7257, allocations: 0.5278 MB / 0.847 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.7278, allocations: 0.7989 MB / 0.8478 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.7318, allocations: 1.229 MB / 0.849 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7318, allocations: 0 / 0.849 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005199/0.737, allocations: 1.656 MB / 0.8506 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.7371, allocations: 8.031 kB / 0.8506 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7371, allocations: 8 kB / 0.8506 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.7391, allocations: 0.5763 MB / 0.8512 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.7404, allocations: 247.6 kB / 0.8514 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.7424, allocations: 1.17 MB / 0.8526 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.7444, allocations: 178.9 kB / 0.8527 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.7445, allocations: 51.95 kB / 0.8528 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002435/0.7469, allocations: 0.8298 MB / 0.8536 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00211/0.7491, allocations: 0.7983 MB / 0.8544 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003877/0.7529, allocations: 1.227 MB / 0.8556 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.753, allocations: 0 / 0.8556 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005084/0.7581, allocations: 1.636 MB / 0.8572 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7581, allocations: 8 kB / 0.8572 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.7581, allocations: 11.94 kB / 0.8572 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.7599, allocations: 0.5657 MB / 0.8577 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.7612, allocations: 243.6 kB / 0.858 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7631, allocations: 1.17 MB / 0.8591 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.7649, allocations: 159.2 kB / 0.8593 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.7651, allocations: 55.95 kB / 0.8593 GB, free: 15.17 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003947/0.7655, allocations: 247.9 kB / 0.8596 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.7659, allocations: 154.2 kB / 0.8597 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.7784, allocations: 2.105 MB / 0.8618 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01182/0.7902, allocations: 1.954 MB / 0.8637 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.7903, allocations: 8 kB / 0.8637 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.7912, allocations: 382.8 kB / 0.864 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.7916, allocations: 16 kB / 0.8641 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.7933, allocations: 107.9 kB / 0.8642 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7934, allocations: 52.58 kB / 0.8642 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007598/0.801, allocations: 1.741 MB / 0.8659 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00643/0.8075, allocations: 2.085 MB / 0.8679 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001859/0.8093, allocations: 0.5402 MB / 0.8685 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001411/0.8108, allocations: 0.8829 MB / 0.8693 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of Backend: time 8.51e-07/0.8108, allocations: 0 / 0.8693 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009044/0.8198, allocations: 2.642 MB / 0.8719 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of SimCode: time 0.006338/0.8262, allocations: 3.558 MB / 0.8754 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of Templates: time 0.068/0.8942, allocations: 45.78 MB / 0.9201 GB, free: 1.324 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)