Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00152/0.00152, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001792/0.001793, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.75 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 80.22 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4923/0.6419, allocations: 126.1 MB / 0.7835 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.6622, allocations: 15.4 MB / 0.7985 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.6658, allocations: 79.31 kB / 0.7986 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.6688, allocations: 0.9564 MB / 0.7996 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007829/0.6767, allocations: 2.613 MB / 0.8021 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.6823, allocations: 2.118 MB / 0.8042 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006764/0.6891, allocations: 4.794 MB / 0.8089 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.6917, allocations: 1.706 MB / 0.8105 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/0.696, allocations: 1.884 MB / 0.8124 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003541/0.6996, allocations: 1.336 MB / 0.8137 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005939/0.7002, allocations: 204.7 kB / 0.8139 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005139/0.7054, allocations: 2.046 MB / 0.8159 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006698/0.7061, allocations: 0.4956 MB / 0.8163 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.7078, allocations: 1.084 MB / 0.8174 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006449/0.7142, allocations: 3.7 MB / 0.821 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7143, allocations: 0 / 0.821 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7143, allocations: 0 / 0.821 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.702e-05/0.7143, allocations: 0 / 0.821 GB, free: 4.465 MB / 0.5762 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.004327/0.7187, allocations: 2.454 MB / 0.8234 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7187, allocations: 10.44 kB / 0.8234 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.7242, allocations: 0.7124 MB / 0.8241 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.7272, allocations: 1.694 MB / 0.8258 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.7274, allocations: 130.5 kB / 0.8259 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.7276, allocations: 134.3 kB / 0.826 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.7314, allocations: 1.72 MB / 0.8277 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.7315, allocations: 2.531 kB / 0.8277 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.7316, allocations: 54.38 kB / 0.8278 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/0.7317, allocations: 40.66 kB / 0.8278 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004562/0.7363, allocations: 1.508 MB / 0.8293 GB, free: 14.89 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.01068/0.747, allocations: 7.526 MB / 0.8366 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.7511, allocations: 1.167 MB / 0.8378 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.7531, allocations: 0.5888 MB / 0.8383 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.7545, allocations: 1.275 MB / 0.8396 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002419/0.7569, allocations: 0.6983 MB / 0.8403 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 4.008e-06/0.7569, allocations: 0 / 0.8403 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01859/0.7755, allocations: 3.167 MB / 0.8434 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.7756, allocations: 141.2 kB / 0.8435 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.778, allocations: 1.296 MB / 0.8448 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/0.7783, allocations: 45.7 kB / 0.8448 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/0.779, allocations: 0.7193 MB / 0.8455 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.7794, allocations: 276 kB / 0.8458 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.7799, allocations: 226.4 kB / 0.846 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7801, allocations: 345.9 kB / 0.8463 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.7821, allocations: 0.5317 MB / 0.8468 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.7844, allocations: 0.7989 MB / 0.8476 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/0.7886, allocations: 1.229 MB / 0.8488 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.7886, allocations: 0 / 0.8488 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005711/0.7943, allocations: 1.66 MB / 0.8504 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.7944, allocations: 8 kB / 0.8504 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.7944, allocations: 8 kB / 0.8505 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.7965, allocations: 0.5674 MB / 0.851 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.798, allocations: 243.6 kB / 0.8512 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.8001, allocations: 1.166 MB / 0.8524 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.8022, allocations: 186.9 kB / 0.8526 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.8024, allocations: 51.95 kB / 0.8526 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002624/0.8051, allocations: 0.8307 MB / 0.8534 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002219/0.8073, allocations: 0.7944 MB / 0.8542 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004106/0.8114, allocations: 1.215 MB / 0.8554 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/0.8114, allocations: 0 / 0.8554 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005566/0.817, allocations: 1.64 MB / 0.857 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8171, allocations: 11.94 kB / 0.857 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8171, allocations: 8 kB / 0.857 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/0.8191, allocations: 0.5653 MB / 0.8576 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.8205, allocations: 239.6 kB / 0.8578 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.8225, allocations: 1.166 MB / 0.8589 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.8246, allocations: 168.7 kB / 0.8591 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.8248, allocations: 63.88 kB / 0.8591 GB, free: 15.25 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.000447/0.8252, allocations: 240 kB / 0.8594 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.8258, allocations: 150.2 kB / 0.8595 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.8388, allocations: 2.115 MB / 0.8616 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.8389, allocations: 8 kB / 0.8616 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.8389, allocations: 3.938 kB / 0.8616 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01247/0.8514, allocations: 1.954 MB / 0.8635 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00968/0.8611, allocations: 3.666 MB / 0.8671 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8611, allocations: 0 / 0.8671 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.8623, allocations: 175.9 kB / 0.8672 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.8643, allocations: 0.5397 MB / 0.8678 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.8645, allocations: 43.88 kB / 0.8678 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.8665, allocations: 1.158 MB / 0.8689 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.8666, allocations: 8 kB / 0.869 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.8719, allocations: 1.592 MB / 0.8705 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/0.8729, allocations: 375 kB / 0.8709 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.8734, allocations: 23.98 kB / 0.8709 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.8754, allocations: 111.9 kB / 0.871 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.8755, allocations: 56.52 kB / 0.871 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.8757, allocations: 59.92 kB / 0.8711 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001689/0.8774, allocations: 0.879 MB / 0.872 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8774, allocations: 0 / 0.872 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003509/0.881, allocations: 0.9703 MB / 0.8729 GB, free: 0.832 MB / 0.6231 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.002677/0.8836, allocations: 0.8829 MB / 0.8738 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007738/0.8914, allocations: 2.037 MB / 0.8758 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.8915, allocations: 4 kB / 0.8758 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.8939, allocations: 0.6204 MB / 0.8764 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/0.8987, allocations: 0.7633 MB / 0.8771 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.9056, allocations: 2.722 MB / 0.8798 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.9068, allocations: 1.255 MB / 0.881 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.9075, allocations: 167.3 kB / 0.8812 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of SimCode: time 1.323e-06/0.9075, allocations: 3.938 kB / 0.8812 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of Templates: time 0.0526/0.9601, allocations: 37.55 MB / 0.9178 GB, free: 3.105 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)