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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.000901/0.0009011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8563/0.8563, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003077, allocations: 12 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3151/0.4539, allocations: 105.5 MB / 0.6902 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.4722, allocations: 13.11 MB / 0.703 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.4747, allocations: 62.69 kB / 0.7031 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.4772, allocations: 0.8282 MB / 0.7039 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.484, allocations: 2.269 MB / 0.7061 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005983/0.49, allocations: 1.985 MB / 0.708 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005363/0.4954, allocations: 2.756 MB / 0.7107 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.4978, allocations: 1.25 MB / 0.712 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.501, allocations: 1.319 MB / 0.7132 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.5034, allocations: 0.8673 MB / 0.7141 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005191/0.504, allocations: 70.66 kB / 0.7142 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.5082, allocations: 1.212 MB / 0.7153 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006592/0.5088, allocations: 338.2 kB / 0.7157 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009735/0.5098, allocations: 418.7 kB / 0.7161 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.5138, allocations: 2.565 MB / 0.7186 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.5138, allocations: 4 kB / 0.7186 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5138, allocations: 0 / 0.7186 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.809e-05/0.5139, allocations: 0 / 0.7186 GB, free: 1.105 MB / 0.5294 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.004813/0.5187, allocations: 2.039 MB / 0.7206 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5187, allocations: 9.438 kB / 0.7206 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.5243, allocations: 0.7514 MB / 0.7213 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.5284, allocations: 1.547 MB / 0.7228 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.5287, allocations: 144 kB / 0.723 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/0.5292, allocations: 124.4 kB / 0.7231 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.534, allocations: 1.721 MB / 0.7248 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.534, allocations: 5.438 kB / 0.7248 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.5342, allocations: 53.66 kB / 0.7248 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.5343, allocations: 33.56 kB / 0.7248 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004499/0.5388, allocations: 1.526 MB / 0.7263 GB, free: 11.93 MB / 0.545 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.01067/0.5495, allocations: 7.6 MB / 0.7338 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.5532, allocations: 1.189 MB / 0.7349 GB, free: 4.387 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.5545, allocations: 1.275 MB / 0.7362 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002112/0.5566, allocations: 0.7068 MB / 0.7368 GB, free: 2.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/0.5566, allocations: 0 / 0.7368 GB, free: 2.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.01675/0.5734, allocations: 3.226 MB / 0.74 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.5735, allocations: 141.1 kB / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.5756, allocations: 1.316 MB / 0.7414 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.5758, allocations: 45.7 kB / 0.7415 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/0.5765, allocations: 0.7153 MB / 0.7422 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.5768, allocations: 280 kB / 0.7424 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.5769, allocations: 20 kB / 0.7424 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5771, allocations: 345.9 kB / 0.7428 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.5789, allocations: 0.5211 MB / 0.7433 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.5809, allocations: 0.8061 MB / 0.7441 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.5828, allocations: 0.5807 MB / 0.7446 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5828, allocations: 0 / 0.7446 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004935/0.5878, allocations: 1.676 MB / 0.7463 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000793/0.5886, allocations: 2.397 MB / 0.7486 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.5886, allocations: 11.95 kB / 0.7486 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.5906, allocations: 0.5729 MB / 0.7492 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5918, allocations: 255.6 kB / 0.7494 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.5937, allocations: 1.17 MB / 0.7506 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.5959, allocations: 238.7 kB / 0.7508 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.5961, allocations: 55.95 kB / 0.7509 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.5961, allocations: 4 kB / 0.7509 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00446/0.6005, allocations: 1.512 MB / 0.7523 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6006, allocations: 8 kB / 0.7523 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.6024, allocations: 0.5701 MB / 0.7529 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.6036, allocations: 251.5 kB / 0.7531 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.6054, allocations: 1.178 MB / 0.7543 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.6076, allocations: 226.9 kB / 0.7545 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.6077, allocations: 56.56 kB / 0.7546 GB, free: 15.56 MB / 0.5762 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * 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 (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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009251/0.6086, allocations: 475.6 kB / 0.755 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.609, allocations: 150.2 kB / 0.7552 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.6207, allocations: 2.16 MB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.6207, allocations: 8 kB / 0.7573 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6207, allocations: 3.984 kB / 0.7573 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01111/0.6319, allocations: 1.993 MB / 0.7592 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008653/0.6406, allocations: 3.687 MB / 0.7628 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6406, allocations: 0 / 0.7628 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.6416, allocations: 183.8 kB / 0.763 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.6434, allocations: 0.5685 MB / 0.7636 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.6435, allocations: 31.95 kB / 0.7636 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.6453, allocations: 1.158 MB / 0.7647 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6453, allocations: 96 / 0.7647 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/0.65, allocations: 1.707 MB / 0.7664 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.6511, allocations: 426.8 kB / 0.7668 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004275/0.6516, allocations: 16 kB / 0.7668 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/0.6535, allocations: 155.8 kB / 0.767 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6536, allocations: 60.52 kB / 0.767 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.6537, allocations: 55.92 kB / 0.7671 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001415/0.6552, allocations: 0.8985 MB / 0.7679 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/0.6552, allocations: 0 / 0.7679 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003279/0.6585, allocations: 0.9782 MB / 0.7689 GB, free: 0.5117 MB / 0.5762 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 (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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/0.6607, allocations: 0.8802 MB / 0.7698 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006584/0.6673, allocations: 2.041 MB / 0.7718 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6673, allocations: 4 kB / 0.7718 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.6695, allocations: 0.636 MB / 0.7724 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/0.6733, allocations: 0.7401 MB / 0.7731 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/0.6793, allocations: 3.217 MB / 0.7762 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/0.6802, allocations: 1.294 MB / 0.7775 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001734/0.682, allocations: 371.9 kB / 0.7779 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.6824, allocations: 151.2 kB / 0.778 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.6824, allocations: 0 / 0.778 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of Templates: time 0.05487/0.7372, allocations: 37.91 MB / 0.815 GB, free: 1.766 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: