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.001442/0.001442, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001463/0.001464, allocations: 187 kB / 17.34 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8186/0.8186, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.41 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1653, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5368/0.7021, allocations: 126.1 MB / 0.7885 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.7244, allocations: 15.41 MB / 0.8035 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00418/0.7287, allocations: 74.97 kB / 0.8036 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003514/0.7322, allocations: 0.963 MB / 0.8045 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.7415, allocations: 2.604 MB / 0.8071 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006271/0.7478, allocations: 2.13 MB / 0.8092 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007515/0.7554, allocations: 4.785 MB / 0.8138 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.7585, allocations: 1.714 MB / 0.8155 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.7636, allocations: 1.871 MB / 0.8173 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.7674, allocations: 1.335 MB / 0.8186 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008525/0.7683, allocations: 205.7 kB / 0.8188 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005659/0.7739, allocations: 2.047 MB / 0.8208 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009363/0.7749, allocations: 0.5017 MB / 0.8213 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.7773, allocations: 1.073 MB / 0.8224 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008267/0.7856, allocations: 3.707 MB / 0.826 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.7857, allocations: 7.875 kB / 0.826 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7857, allocations: 0 / 0.826 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001157/0.7858, allocations: 2.5 kB / 0.826 GB, free: 14.69 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.00683/0.7927, allocations: 2.442 MB / 0.8284 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.7927, allocations: 11.73 kB / 0.8284 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00592/0.7987, allocations: 0.711 MB / 0.8291 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.8029, allocations: 1.706 MB / 0.8308 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.8031, allocations: 131.6 kB / 0.8309 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004359/0.8036, allocations: 125 kB / 0.831 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/0.8086, allocations: 1.722 MB / 0.8327 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.8087, allocations: 6.438 kB / 0.8327 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.8089, allocations: 54.19 kB / 0.8327 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.809, allocations: 45.11 kB / 0.8328 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005019/0.814, allocations: 1.515 MB / 0.8343 GB, free: 8.344 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.01206/0.8261, allocations: 7.516 MB / 0.8416 GB, free: 436 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.8303, allocations: 1.161 MB / 0.8427 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.8323, allocations: 0.5906 MB / 0.8433 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.8338, allocations: 1.275 MB / 0.8446 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002403/0.8362, allocations: 0.6898 MB / 0.8452 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.487e-06/0.8363, allocations: 0 / 0.8452 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.01839/0.8547, allocations: 3.171 MB / 0.8483 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.8548, allocations: 141.2 kB / 0.8485 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.8572, allocations: 1.284 MB / 0.8497 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.8575, allocations: 49.69 kB / 0.8498 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/0.8583, allocations: 0.727 MB / 0.8505 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.8587, allocations: 272.1 kB / 0.8507 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.8591, allocations: 230.4 kB / 0.851 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8593, allocations: 338 kB / 0.8513 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.8613, allocations: 0.5278 MB / 0.8518 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.8636, allocations: 0.7983 MB / 0.8526 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.8677, allocations: 1.237 MB / 0.8538 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.8677, allocations: 0 / 0.8538 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005611/0.8733, allocations: 1.656 MB / 0.8554 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.8734, allocations: 10.5 kB / 0.8554 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.8734, allocations: 8 kB / 0.8554 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.8755, allocations: 0.5709 MB / 0.856 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.8769, allocations: 251.6 kB / 0.8562 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.8791, allocations: 1.163 MB / 0.8573 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.8812, allocations: 180 kB / 0.8575 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.8814, allocations: 59.94 kB / 0.8576 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002586/0.884, allocations: 0.8298 MB / 0.8584 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002169/0.8862, allocations: 0.7905 MB / 0.8592 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003905/0.8901, allocations: 1.209 MB / 0.8603 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.017e-06/0.8901, allocations: 4 kB / 0.8603 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005571/0.8957, allocations: 1.644 MB / 0.8619 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8958, allocations: 7.938 kB / 0.862 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.8958, allocations: 8.625 kB / 0.862 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.8977, allocations: 0.5638 MB / 0.8625 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.8991, allocations: 239.6 kB / 0.8627 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.9012, allocations: 1.177 MB / 0.8639 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.9033, allocations: 155.3 kB / 0.864 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.9035, allocations: 59.94 kB / 0.8641 GB, free: 8.52 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.0004679/0.904, allocations: 245.3 kB / 0.8643 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006009/0.9046, allocations: 146.2 kB / 0.8645 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.9175, allocations: 2.123 MB / 0.8665 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.9176, allocations: 11.98 kB / 0.8666 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.9176, allocations: 0 / 0.8666 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01227/0.9299, allocations: 1.962 MB / 0.8685 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/0.9395, allocations: 3.652 MB / 0.872 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.9395, allocations: 3.938 kB / 0.872 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.9407, allocations: 180 kB / 0.8722 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.9427, allocations: 0.5397 MB / 0.8727 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.9428, allocations: 39.94 kB / 0.8728 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.9449, allocations: 1.154 MB / 0.8739 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.9449, allocations: 4 kB / 0.8739 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.9503, allocations: 1.596 MB / 0.8755 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.9514, allocations: 379 kB / 0.8758 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/0.9518, allocations: 16 kB / 0.8758 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.9538, allocations: 119.8 kB / 0.876 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9539, allocations: 60.52 kB / 0.876 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.9541, allocations: 55.92 kB / 0.8761 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00164/0.9558, allocations: 0.8829 MB / 0.8769 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9558, allocations: 0 / 0.8769 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003445/0.9592, allocations: 0.9664 MB / 0.8779 GB, free: 10.08 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.002452/0.9617, allocations: 0.898 MB / 0.8788 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007642/0.9694, allocations: 2.018 MB / 0.8807 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.9694, allocations: 0 / 0.8807 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.9718, allocations: 0.6321 MB / 0.8813 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/0.9762, allocations: 0.7603 MB / 0.8821 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.9832, allocations: 2.732 MB / 0.8848 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.9844, allocations: 1.259 MB / 0.886 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006621/0.985, allocations: 163.3 kB / 0.8861 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/0.9851, allocations: 0 / 0.8861 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of Templates: time 0.0548/1.04, allocations: 37.55 MB / 0.9228 GB, free: 12.31 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)