Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7204/0.7204, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.341/1.341, allocations: 222.9 MB / 404.7 MB, free: 6.145 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.0009615/0.0009615, allocations: 91.39 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1263, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3816/0.508, allocations: 125.2 MB / 0.7645 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.5295, allocations: 15.57 MB / 0.7797 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.5326, allocations: 67.56 kB / 0.7797 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.5352, allocations: 0.8004 MB / 0.7805 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007183/0.5424, allocations: 2.383 MB / 0.7828 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005724/0.5482, allocations: 1.912 MB / 0.7847 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00713/0.5553, allocations: 6.049 MB / 0.7906 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.5578, allocations: 1.395 MB / 0.792 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.5611, allocations: 1.552 MB / 0.7935 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.5634, allocations: 1.307 MB / 0.7948 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.5639, allocations: 92 kB / 0.7948 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.5681, allocations: 1.825 MB / 0.7966 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006476/0.5688, allocations: 406.3 kB / 0.797 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.5705, allocations: 0.9678 MB / 0.798 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.5764, allocations: 3.598 MB / 0.8015 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5764, allocations: 0 / 0.8015 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5764, allocations: 0 / 0.8015 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.618e-05/0.5765, allocations: 0 / 0.8015 GB, free: 1.18 MB / 0.5261 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.005753/0.5823, allocations: 2.459 MB / 0.8039 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5823, allocations: 8.031 kB / 0.8039 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005741/0.5881, allocations: 0.7124 MB / 0.8046 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.5916, allocations: 1.673 MB / 0.8062 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.5918, allocations: 128.2 kB / 0.8063 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.5921, allocations: 128 kB / 0.8065 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/0.5966, allocations: 1.739 MB / 0.8082 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.5966, allocations: 7.875 kB / 0.8082 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.5968, allocations: 59.98 kB / 0.8082 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.5969, allocations: 35.98 kB / 0.8083 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.602, allocations: 1.508 MB / 0.8097 GB, free: 8.484 MB / 0.5417 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.0112/0.6132, allocations: 7.545 MB / 0.8171 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004214/0.6174, allocations: 1.159 MB / 0.8182 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.6195, allocations: 0.5883 MB / 0.8188 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.6208, allocations: 1.278 MB / 0.82 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.6231, allocations: 0.6913 MB / 0.8207 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.597e-06/0.6231, allocations: 0 / 0.8207 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.01873/0.6419, allocations: 3.163 MB / 0.8238 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.642, allocations: 141.2 kB / 0.8239 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.6443, allocations: 1.275 MB / 0.8252 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.6445, allocations: 45.7 kB / 0.8252 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.6453, allocations: 0.7271 MB / 0.8259 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/0.6457, allocations: 276 kB / 0.8262 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.6461, allocations: 222.4 kB / 0.8264 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6463, allocations: 345.9 kB / 0.8268 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.6483, allocations: 0.5239 MB / 0.8273 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.6506, allocations: 0.8022 MB / 0.828 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.6547, allocations: 1.237 MB / 0.8293 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6547, allocations: 0 / 0.8293 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005493/0.6602, allocations: 1.66 MB / 0.8309 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.6603, allocations: 8 kB / 0.8309 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.6603, allocations: 8 kB / 0.8309 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.6624, allocations: 0.5635 MB / 0.8314 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.6638, allocations: 247.6 kB / 0.8317 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.6658, allocations: 1.178 MB / 0.8328 GB, free: 15.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.6679, allocations: 223.8 kB / 0.833 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.6681, allocations: 59.94 kB / 0.8331 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002481/0.6706, allocations: 0.8297 MB / 0.8339 GB, free: 14.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002123/0.6727, allocations: 0.7981 MB / 0.8347 GB, free: 13.76 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003841/0.6766, allocations: 1.209 MB / 0.8359 GB, free: 12.47 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.101e-06/0.6766, allocations: 8 kB / 0.8359 GB, free: 12.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005298/0.6819, allocations: 1.636 MB / 0.8375 GB, free: 10.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6819, allocations: 4 kB / 0.8375 GB, free: 10.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6819, allocations: 11.94 kB / 0.8375 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.6839, allocations: 0.5595 MB / 0.838 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.6852, allocations: 243.6 kB / 0.8383 GB, free: 9.992 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.6872, allocations: 1.173 MB / 0.8394 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.6893, allocations: 203.2 kB / 0.8396 GB, free: 8.594 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.6894, allocations: 55.95 kB / 0.8397 GB, free: 8.539 MB / 0.573 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.0003789/0.6898, allocations: 250.4 kB / 0.8399 GB, free: 8.289 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.6903, allocations: 146.2 kB / 0.84 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.7034, allocations: 2.122 MB / 0.8421 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.7034, allocations: 8 kB / 0.8421 GB, free: 5.996 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.7034, allocations: 0 / 0.8421 GB, free: 5.996 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01227/0.7157, allocations: 1.958 MB / 0.844 GB, free: 4.004 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00861/0.7244, allocations: 3.641 MB / 0.8476 GB, free: 196 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.7244, allocations: 0 / 0.8476 GB, free: 196 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.7255, allocations: 179.8 kB / 0.8478 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.7274, allocations: 0.548 MB / 0.8483 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/0.7275, allocations: 39.94 kB / 0.8483 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.7294, allocations: 1.154 MB / 0.8495 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7294, allocations: 7.938 kB / 0.8495 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008051/0.7375, allocations: 3.047 MB / 0.8524 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.7387, allocations: 379 kB / 0.8528 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/0.7391, allocations: 27.94 kB / 0.8528 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/0.741, allocations: 151.7 kB / 0.853 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.7411, allocations: 52.58 kB / 0.853 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/0.7413, allocations: 55.92 kB / 0.8531 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001808/0.7432, allocations: 0.8711 MB / 0.8539 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.7e-07/0.7432, allocations: 0 / 0.8539 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00383/0.747, allocations: 0.9977 MB / 0.8549 GB, free: 8.559 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002185/0.7492, allocations: 0.8856 MB / 0.8558 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006961/0.7562, allocations: 2.01 MB / 0.8577 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.7562, allocations: 4 kB / 0.8577 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.7585, allocations: 0.6204 MB / 0.8583 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/0.7627, allocations: 0.7677 MB / 0.8591 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/0.7696, allocations: 3.758 MB / 0.8628 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.7706, allocations: 1.278 MB / 0.864 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001818/0.7724, allocations: 360 kB / 0.8644 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.7728, allocations: 143.3 kB / 0.8645 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.7729, allocations: 0 / 0.8645 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.06134/0.8342, allocations: 39.45 MB / 0.903 GB, free: 7.715 MB / 0.6355 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)