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.0007965/0.0007965, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005921/0.005921, allocations: 170 kB / 16.26 MB, free: 6.613 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9437/0.9437, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003446, allocations: 9.062 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 82.3 MB / 0.588 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4153/0.5969, allocations: 123.3 MB / 0.7084 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0236/0.6206, allocations: 15.37 MB / 0.7234 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.6241, allocations: 66.06 kB / 0.7235 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.6272, allocations: 0.7859 MB / 0.7242 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008858/0.6361, allocations: 2.395 MB / 0.7266 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006528/0.6427, allocations: 1.923 MB / 0.7285 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009889/0.6526, allocations: 6.005 MB / 0.7343 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.6554, allocations: 1.369 MB / 0.7357 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.6594, allocations: 1.491 MB / 0.7371 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.662, allocations: 1.253 MB / 0.7383 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004613/0.6625, allocations: 72.28 kB / 0.7384 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004858/0.6673, allocations: 1.795 MB / 0.7402 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006691/0.668, allocations: 358.5 kB / 0.7405 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.67, allocations: 0.9557 MB / 0.7414 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005989/0.676, allocations: 3.527 MB / 0.7449 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.676, allocations: 4 kB / 0.7449 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.676, allocations: 3.938 kB / 0.7449 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.083e-05/0.6761, allocations: 0 / 0.7449 GB, free: 11.57 MB / 0.5606 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.003851/0.6799, allocations: 2.052 MB / 0.7469 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.68, allocations: 12.03 kB / 0.7469 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.6856, allocations: 0.7554 MB / 0.7476 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.6885, allocations: 1.665 MB / 0.7493 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.6887, allocations: 136.1 kB / 0.7494 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.6889, allocations: 124 kB / 0.7495 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.6931, allocations: 1.747 MB / 0.7512 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.6932, allocations: 4 kB / 0.7512 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.6933, allocations: 52 kB / 0.7513 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.6934, allocations: 43.94 kB / 0.7513 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.6982, allocations: 1.539 MB / 0.7528 GB, free: 3.207 MB / 0.5606 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.009745/0.7079, allocations: 7.551 MB / 0.7602 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.712, allocations: 1.194 MB / 0.7614 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.7139, allocations: 0.6002 MB / 0.7619 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.7152, allocations: 1.275 MB / 0.7632 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/0.7174, allocations: 0.703 MB / 0.7639 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/0.7174, allocations: 0 / 0.7639 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.0178/0.7352, allocations: 3.261 MB / 0.7671 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.7353, allocations: 137.2 kB / 0.7672 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.7369, allocations: 1.278 MB / 0.7684 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.737, allocations: 45.7 kB / 0.7685 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.7376, allocations: 0.727 MB / 0.7692 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.7378, allocations: 280.1 kB / 0.7695 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.738, allocations: 81.67 kB / 0.7695 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7381, allocations: 341.9 kB / 0.7699 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.74, allocations: 0.5328 MB / 0.7704 GB, free: 428 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.7421, allocations: 0.8216 MB / 0.7712 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.746, allocations: 1.256 MB / 0.7724 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.746, allocations: 4 kB / 0.7724 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005001/0.7511, allocations: 1.692 MB / 0.7741 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.7512, allocations: 269.1 kB / 0.7743 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.7513, allocations: 4 kB / 0.7743 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.7532, allocations: 0.5754 MB / 0.7749 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.7545, allocations: 251.6 kB / 0.7751 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.7564, allocations: 1.178 MB / 0.7763 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7583, allocations: 238.8 kB / 0.7765 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.7584, allocations: 51.95 kB / 0.7766 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.7584, allocations: 4 kB / 0.7766 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00458/0.763, allocations: 1.519 MB / 0.778 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.763, allocations: 8.625 kB / 0.7781 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.7648, allocations: 0.5591 MB / 0.7786 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.7661, allocations: 255.5 kB / 0.7788 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.768, allocations: 1.185 MB / 0.78 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.77, allocations: 220.8 kB / 0.7802 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.7701, allocations: 59.94 kB / 0.7803 GB, free: 5.949 MB / 0.5919 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.0008465/0.771, allocations: 468.8 kB / 0.7807 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.7712, allocations: 154.2 kB / 0.7809 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.7841, allocations: 2.164 MB / 0.783 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.7841, allocations: 8 kB / 0.783 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7842, allocations: 0 / 0.783 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01254/0.7967, allocations: 2.009 MB / 0.7849 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008524/0.8053, allocations: 3.66 MB / 0.7885 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.8053, allocations: 7.938 kB / 0.7885 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.8064, allocations: 191.8 kB / 0.7887 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.8083, allocations: 0.5515 MB / 0.7892 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.8084, allocations: 35.94 kB / 0.7893 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.8103, allocations: 1.17 MB / 0.7904 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8104, allocations: 0 / 0.7904 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.8156, allocations: 1.624 MB / 0.792 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.8164, allocations: 414.8 kB / 0.7924 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.8166, allocations: 16 kB / 0.7924 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.8183, allocations: 155.7 kB / 0.7926 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.8184, allocations: 60.52 kB / 0.7926 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.8185, allocations: 59.92 kB / 0.7927 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001216/0.8198, allocations: 0.8634 MB / 0.7935 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8198, allocations: 0 / 0.7935 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00254/0.8223, allocations: 0.9626 MB / 0.7945 GB, free: 7.086 MB / 0.6075 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.002011/0.8243, allocations: 0.8884 MB / 0.7953 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006973/0.8313, allocations: 2.049 MB / 0.7973 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.8313, allocations: 7.938 kB / 0.7973 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.8335, allocations: 0.6361 MB / 0.798 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/0.8375, allocations: 0.7536 MB / 0.7987 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.8435, allocations: 3.387 MB / 0.802 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.8443, allocations: 1.259 MB / 0.8032 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001684/0.846, allocations: 368 kB / 0.8036 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.8463, allocations: 135.3 kB / 0.8037 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.8463, allocations: 0 / 0.8037 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.05784/0.9042, allocations: 38.2 MB / 0.841 GB, free: 7.902 MB / 0.6544 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)