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.001395/0.001395, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001257/0.001257, allocations: 189.6 kB / 17.34 MB, free: 5.75 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.372/1.372, 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-master/package.mo): time 0.8359/0.8359, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.47 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1595, allocations: 80.91 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.583/0.7425, allocations: 126.1 MB / 0.7885 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02291/0.7654, allocations: 15.42 MB / 0.8035 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004595/0.7701, allocations: 73.56 kB / 0.8036 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.7737, allocations: 0.9643 MB / 0.8045 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009988/0.7837, allocations: 2.598 MB / 0.8071 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006681/0.7904, allocations: 2.136 MB / 0.8092 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009204/0.7996, allocations: 4.791 MB / 0.8138 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003812/0.8035, allocations: 1.706 MB / 0.8155 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.8092, allocations: 1.873 MB / 0.8173 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004403/0.8136, allocations: 1.34 MB / 0.8186 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009328/0.8145, allocations: 203.8 kB / 0.8188 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/0.8209, allocations: 2.046 MB / 0.8208 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.8221, allocations: 0.4946 MB / 0.8213 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00271/0.8248, allocations: 1.074 MB / 0.8224 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009403/0.8342, allocations: 3.711 MB / 0.826 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.8343, allocations: 2.594 kB / 0.826 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8343, allocations: 0 / 0.826 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001387/0.8345, allocations: 4 kB / 0.826 GB, free: 14.79 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.007622/0.8421, allocations: 2.442 MB / 0.8284 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.8422, allocations: 12.11 kB / 0.8284 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/0.8483, allocations: 0.7112 MB / 0.8291 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.8531, allocations: 1.699 MB / 0.8307 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.8533, allocations: 139.2 kB / 0.8309 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/0.8539, allocations: 125.8 kB / 0.831 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005802/0.8597, allocations: 1.729 MB / 0.8327 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.8598, allocations: 1 kB / 0.8327 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.8601, allocations: 58.22 kB / 0.8327 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.319e-05/0.8602, allocations: 40.12 kB / 0.8328 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.8651, allocations: 1.51 MB / 0.8343 GB, free: 8.504 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.01235/0.8775, allocations: 7.528 MB / 0.8416 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/0.8818, allocations: 1.159 MB / 0.8427 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.8838, allocations: 0.5927 MB / 0.8433 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.8853, allocations: 1.271 MB / 0.8446 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002373/0.8877, allocations: 0.6913 MB / 0.8452 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.867e-06/0.8877, allocations: 0 / 0.8452 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.01797/0.9057, allocations: 3.167 MB / 0.8483 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.9058, allocations: 141.1 kB / 0.8485 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.9082, allocations: 1.286 MB / 0.8497 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.9085, allocations: 53.69 kB / 0.8498 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007604/0.9093, allocations: 0.7309 MB / 0.8505 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/0.9097, allocations: 268.1 kB / 0.8507 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.9102, allocations: 222.4 kB / 0.851 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9103, allocations: 338 kB / 0.8513 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.9123, allocations: 0.5356 MB / 0.8518 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.9146, allocations: 0.7944 MB / 0.8526 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.9187, allocations: 1.233 MB / 0.8538 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.9187, allocations: 7.938 kB / 0.8538 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005737/0.9245, allocations: 1.652 MB / 0.8554 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.9245, allocations: 8 kB / 0.8554 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.9245, allocations: 4 kB / 0.8554 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.9266, allocations: 0.5661 MB / 0.856 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.9281, allocations: 247.6 kB / 0.8562 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.9302, allocations: 1.171 MB / 0.8573 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.9324, allocations: 182.9 kB / 0.8575 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.9326, allocations: 63.88 kB / 0.8576 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002722/0.9353, allocations: 0.8298 MB / 0.8584 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00231/0.9377, allocations: 0.7866 MB / 0.8592 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003991/0.9417, allocations: 1.213 MB / 0.8603 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.229e-05/0.9417, allocations: 4 kB / 0.8603 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005577/0.9473, allocations: 1.645 MB / 0.862 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.9474, allocations: 15.94 kB / 0.862 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9474, allocations: 4 kB / 0.862 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.9493, allocations: 0.5559 MB / 0.8625 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.9506, allocations: 243.6 kB / 0.8627 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.9526, allocations: 1.173 MB / 0.8639 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.9546, allocations: 159.3 kB / 0.864 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.9548, allocations: 59.94 kB / 0.8641 GB, free: 8.668 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.0004791/0.9553, allocations: 257.8 kB / 0.8643 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/0.9559, allocations: 146.2 kB / 0.8645 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.9689, allocations: 2.119 MB / 0.8666 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.9689, allocations: 8 kB / 0.8666 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.969, allocations: 4 kB / 0.8666 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01258/0.9816, allocations: 1.947 MB / 0.8685 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009422/0.991, allocations: 3.652 MB / 0.872 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9911, allocations: 4.188 kB / 0.872 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.9922, allocations: 183.7 kB / 0.8722 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.9941, allocations: 0.5515 MB / 0.8728 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.9943, allocations: 39.94 kB / 0.8728 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.9962, allocations: 1.146 MB / 0.8739 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9962, allocations: 0 / 0.8739 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/1.001, allocations: 1.596 MB / 0.8755 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/1.002, allocations: 383 kB / 0.8758 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/1.003, allocations: 20 kB / 0.8759 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.005, allocations: 111.9 kB / 0.876 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.005, allocations: 60.45 kB / 0.876 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.005, allocations: 59.92 kB / 0.8761 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001588/1.007, allocations: 0.8751 MB / 0.8769 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 0 / 0.8769 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003612/1.01, allocations: 0.9665 MB / 0.8779 GB, free: 10.24 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.002464/1.013, allocations: 0.8989 MB / 0.8787 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007162/1.02, allocations: 2.014 MB / 0.8807 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.02, allocations: 4 kB / 0.8807 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.022, allocations: 0.6282 MB / 0.8813 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.026, allocations: 0.7668 MB / 0.8821 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/1.033, allocations: 2.744 MB / 0.8848 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.034, allocations: 1.251 MB / 0.886 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/1.035, allocations: 163.2 kB / 0.8861 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/1.035, allocations: 0 / 0.8861 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of Templates: time 0.05532/1.09, allocations: 37.77 MB / 0.923 GB, free: 12.23 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)