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.001336/0.001336, allocations: 105.1 kB / 16.41 MB, free: 6.469 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.001292/0.001292, allocations: 187 kB / 17.34 MB, free: 5.715 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8723/0.8723, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.69 kB / 0.5864 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1677, allocations: 80.93 MB / 0.6654 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5101/0.6777, allocations: 126.3 MB / 0.7888 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02271/0.7004, allocations: 15.44 MB / 0.8039 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/0.7054, allocations: 74.19 kB / 0.8039 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.709, allocations: 1.001 MB / 0.8049 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.7182, allocations: 2.727 MB / 0.8076 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006046/0.7243, allocations: 2.138 MB / 0.8097 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007253/0.7315, allocations: 4.784 MB / 0.8143 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.7339, allocations: 1.403 MB / 0.8157 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004866/0.7388, allocations: 1.892 MB / 0.8175 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.7418, allocations: 1.337 MB / 0.8189 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004683/0.7422, allocations: 207.3 kB / 0.819 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005631/0.7479, allocations: 2.046 MB / 0.821 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005554/0.7484, allocations: 0.5101 MB / 0.8215 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.7502, allocations: 1.077 MB / 0.8226 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.7585, allocations: 3.724 MB / 0.8262 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7586, allocations: 0 / 0.8262 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7586, allocations: 0 / 0.8262 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.924e-05/0.7586, allocations: 0 / 0.8262 GB, free: 14.42 MB / 0.5919 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.005951/0.7646, allocations: 2.525 MB / 0.8287 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.7646, allocations: 9.359 kB / 0.8287 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/0.7701, allocations: 0.7229 MB / 0.8294 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.7739, allocations: 1.714 MB / 0.8311 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.7741, allocations: 130.2 kB / 0.8312 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.7743, allocations: 125.4 kB / 0.8313 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.7786, allocations: 1.725 MB / 0.833 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.7786, allocations: 3.938 kB / 0.833 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.7788, allocations: 54.44 kB / 0.8331 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.7788, allocations: 41.7 kB / 0.8331 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004892/0.7837, allocations: 1.508 MB / 0.8346 GB, free: 8.105 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.01227/0.796, allocations: 7.542 MB / 0.8419 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.8002, allocations: 1.099 MB / 0.843 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.8023, allocations: 0.5575 MB / 0.8436 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.8039, allocations: 1.271 MB / 0.8448 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002495/0.8064, allocations: 0.699 MB / 0.8455 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.687e-06/0.8064, allocations: 0 / 0.8455 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.01802/0.8244, allocations: 3.16 MB / 0.8486 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8245, allocations: 141.1 kB / 0.8487 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.8266, allocations: 1.293 MB / 0.85 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.8268, allocations: 45.7 kB / 0.85 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.8276, allocations: 0.7362 MB / 0.8507 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.828, allocations: 285.5 kB / 0.851 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/0.8284, allocations: 226.5 kB / 0.8512 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.8286, allocations: 341.9 kB / 0.8516 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.8307, allocations: 0.5317 MB / 0.8521 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.833, allocations: 0.8022 MB / 0.8529 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/0.8372, allocations: 1.233 MB / 0.8541 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.8372, allocations: 0 / 0.8541 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005726/0.8429, allocations: 1.653 MB / 0.8557 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.843, allocations: 11.94 kB / 0.8557 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.843, allocations: 4 kB / 0.8557 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.8451, allocations: 0.5674 MB / 0.8562 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.8464, allocations: 247.6 kB / 0.8565 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.8486, allocations: 1.179 MB / 0.8576 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.8506, allocations: 183.2 kB / 0.8578 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.8507, allocations: 59.95 kB / 0.8579 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002596/0.8533, allocations: 0.8259 MB / 0.8587 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002237/0.8556, allocations: 0.7866 MB / 0.8594 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004035/0.8596, allocations: 1.213 MB / 0.8606 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/0.8596, allocations: 4 kB / 0.8606 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005521/0.8651, allocations: 1.638 MB / 0.8622 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8651, allocations: 16 kB / 0.8622 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8652, allocations: 7.984 kB / 0.8622 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.8671, allocations: 0.5633 MB / 0.8628 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.8685, allocations: 243.6 kB / 0.863 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.8707, allocations: 1.17 MB / 0.8642 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.8726, allocations: 159.4 kB / 0.8643 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.8728, allocations: 59.89 kB / 0.8644 GB, free: 8.316 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.0004702/0.8733, allocations: 247.3 kB / 0.8646 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.8737, allocations: 159 kB / 0.8648 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.8862, allocations: 2.108 MB / 0.8668 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-05/0.8863, allocations: 12 kB / 0.8668 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.8863, allocations: 0 / 0.8668 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01204/0.8983, allocations: 1.943 MB / 0.8687 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009621/0.908, allocations: 3.648 MB / 0.8723 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.908, allocations: 4 kB / 0.8723 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.9091, allocations: 175.9 kB / 0.8725 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/0.9111, allocations: 0.5515 MB / 0.873 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.9113, allocations: 35.94 kB / 0.873 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.9135, allocations: 1.154 MB / 0.8742 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.9135, allocations: 11.91 kB / 0.8742 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.9192, allocations: 1.578 MB / 0.8757 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/0.9202, allocations: 387.7 kB / 0.8761 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.9205, allocations: 20 kB / 0.8761 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.9222, allocations: 111.9 kB / 0.8762 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.9223, allocations: 60.45 kB / 0.8763 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.9225, allocations: 55.92 kB / 0.8763 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00146/0.9239, allocations: 0.8829 MB / 0.8772 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9239, allocations: 0 / 0.8772 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002941/0.9269, allocations: 0.9742 MB / 0.8781 GB, free: 9.902 MB / 0.6387 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.00283/0.9297, allocations: 0.8977 MB / 0.879 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007499/0.9372, allocations: 1.936 MB / 0.8809 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.9372, allocations: 3.938 kB / 0.8809 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.9396, allocations: 0.5969 MB / 0.8815 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/0.9434, allocations: 0.7687 MB / 0.8822 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.95, allocations: 2.788 MB / 0.885 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/0.951, allocations: 1.251 MB / 0.8862 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/0.9515, allocations: 163.3 kB / 0.8863 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of SimCode: time 1.001e-06/0.9515, allocations: 0 / 0.8863 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of Templates: time 0.05766/1.009, allocations: 37.68 MB / 0.9231 GB, free: 12.06 MB / 0.6856 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)