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.001448/0.001448, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.368/1.368, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.941/0.941, allocations: 135.1 MB / 425.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.445, allocations: 80.91 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1325/0.5775, allocations: 126.1 MB / 0.7878 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.6014, allocations: 15.41 MB / 0.8029 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.605, allocations: 83.5 kB / 0.8029 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.6085, allocations: 0.9939 MB / 0.8039 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.6169, allocations: 2.718 MB / 0.8066 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006353/0.6233, allocations: 2.129 MB / 0.8086 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00705/0.6304, allocations: 4.805 MB / 0.8133 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.6333, allocations: 1.697 MB / 0.815 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.6376, allocations: 1.88 MB / 0.8168 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.6401, allocations: 1.341 MB / 0.8181 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006163/0.6408, allocations: 204 kB / 0.8183 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.6455, allocations: 2.049 MB / 0.8203 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007766/0.6463, allocations: 0.4984 MB / 0.8208 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.6483, allocations: 1.085 MB / 0.8219 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008299/0.6566, allocations: 3.703 MB / 0.8255 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.6566, allocations: 4 kB / 0.8255 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6567, allocations: 0 / 0.8255 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000124/0.6568, allocations: 0 / 0.8255 GB, free: 12.45 MB / 0.6544 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.006/0.6628, allocations: 2.447 MB / 0.8279 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6629, allocations: 12.03 kB / 0.8279 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005549/0.6684, allocations: 0.712 MB / 0.8286 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.6721, allocations: 1.697 MB / 0.8303 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.6724, allocations: 136.1 kB / 0.8304 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/0.6728, allocations: 124 kB / 0.8305 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/0.6774, allocations: 1.728 MB / 0.8322 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.6775, allocations: 7.938 kB / 0.8322 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.6777, allocations: 55.94 kB / 0.8322 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.6777, allocations: 39.98 kB / 0.8323 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005006/0.6828, allocations: 1.512 MB / 0.8338 GB, free: 3.742 MB / 0.6544 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.01372/0.6965, allocations: 7.522 MB / 0.8411 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.7005, allocations: 1.164 MB / 0.8422 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.7024, allocations: 0.5922 MB / 0.8428 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.7038, allocations: 1.271 MB / 0.8441 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003411/0.7072, allocations: 0.6913 MB / 0.8447 GB, free: 7.801 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.086e-06/0.7072, allocations: 4 kB / 0.8447 GB, free: 7.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.01642/0.7237, allocations: 3.159 MB / 0.8478 GB, free: 4.609 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.7238, allocations: 141.1 kB / 0.848 GB, free: 4.441 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.7255, allocations: 1.289 MB / 0.8492 GB, free: 3.137 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.7257, allocations: 49.7 kB / 0.8493 GB, free: 3.082 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.7263, allocations: 0.7308 MB / 0.85 GB, free: 2.344 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.7266, allocations: 276.1 kB / 0.8502 GB, free: 2.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.727, allocations: 218.4 kB / 0.8505 GB, free: 1.852 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7271, allocations: 341.9 kB / 0.8508 GB, free: 1.512 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.729, allocations: 0.5317 MB / 0.8513 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.731, allocations: 0.7983 MB / 0.8521 GB, free: 76 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/0.7351, allocations: 1.233 MB / 0.8533 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7351, allocations: 4 kB / 0.8533 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004995/0.7401, allocations: 1.652 MB / 0.8549 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7401, allocations: 8 kB / 0.8549 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7401, allocations: 8.625 kB / 0.8549 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.742, allocations: 0.5648 MB / 0.8555 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.7434, allocations: 251.5 kB / 0.8557 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.7453, allocations: 1.167 MB / 0.8568 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.7471, allocations: 174.9 kB / 0.857 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.7472, allocations: 59.94 kB / 0.8571 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002478/0.7497, allocations: 0.8313 MB / 0.8579 GB, free: 10 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002022/0.7518, allocations: 0.7903 MB / 0.8587 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003645/0.7554, allocations: 1.217 MB / 0.8598 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/0.7554, allocations: 0 / 0.8598 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005041/0.7605, allocations: 1.652 MB / 0.8615 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7605, allocations: 8 kB / 0.8615 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.7605, allocations: 4 kB / 0.8615 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.7624, allocations: 0.5675 MB / 0.862 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.7637, allocations: 243.6 kB / 0.8623 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.7656, allocations: 1.173 MB / 0.8634 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.7674, allocations: 155.3 kB / 0.8635 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.7675, allocations: 51.95 kB / 0.8636 GB, free: 3.922 MB / 0.6856 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.0003739/0.7679, allocations: 257.1 kB / 0.8638 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.7682, allocations: 146.2 kB / 0.864 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.7804, allocations: 2.13 MB / 0.8661 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.7804, allocations: 11.83 kB / 0.8661 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.7804, allocations: 3.938 kB / 0.8661 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3823/1.163, allocations: 1.941 MB / 0.868 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008702/1.171, allocations: 3.647 MB / 0.8715 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.172, allocations: 1.688 kB / 0.8715 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.173, allocations: 174.4 kB / 0.8717 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/1.175, allocations: 0.5472 MB / 0.8722 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.175, allocations: 36.98 kB / 0.8723 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.177, allocations: 1.156 MB / 0.8734 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.177, allocations: 6.031 kB / 0.8734 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/1.182, allocations: 1.585 MB / 0.875 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008714/1.183, allocations: 389.4 kB / 0.8753 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.183, allocations: 18.38 kB / 0.8753 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.185, allocations: 119.4 kB / 0.8755 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.185, allocations: 54.39 kB / 0.8755 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.185, allocations: 51.39 kB / 0.8756 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001738/1.187, allocations: 0.8862 MB / 0.8764 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.01e-07/1.187, allocations: 0.8438 kB / 0.8764 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004159/1.191, allocations: 0.9638 MB / 0.8774 GB, free: 183.4 MB / 0.6856 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.002425/1.193, allocations: 0.8914 MB / 0.8782 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006888/1.2, allocations: 2.021 MB / 0.8802 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.2, allocations: 1.25 kB / 0.8802 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.203, allocations: 0.6319 MB / 0.8808 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.206, allocations: 0.7619 MB / 0.8816 GB, free: 182 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/1.212, allocations: 2.691 MB / 0.8842 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/1.213, allocations: 1.258 MB / 0.8854 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001714/1.215, allocations: 380.8 kB / 0.8858 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/1.215, allocations: 137.2 kB / 0.8859 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/1.215, allocations: 0 / 0.8859 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.05797/1.273, allocations: 40.29 MB / 0.9253 GB, free: 150.5 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)