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.0008417/0.0008415, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.000946/0.0009461, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 13.23 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 82.31 MB / 0.5874 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4198/0.5899, allocations: 116.4 MB / 0.7011 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.6128, allocations: 14.42 MB / 0.7152 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.6166, allocations: 64.47 kB / 0.7152 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.62, allocations: 0.6797 MB / 0.7159 GB, free: 14.89 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009126/0.6292, allocations: 2.047 MB / 0.7179 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.6351, allocations: 1.542 MB / 0.7194 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008678/0.6438, allocations: 5.195 MB / 0.7245 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.6466, allocations: 1.235 MB / 0.7257 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/0.6507, allocations: 1.427 MB / 0.7271 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.6542, allocations: 1.168 MB / 0.7282 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.6547, allocations: 70.75 kB / 0.7283 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.6601, allocations: 1.487 MB / 0.7297 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007326/0.6609, allocations: 356.4 kB / 0.7301 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.6621, allocations: 414.1 kB / 0.7305 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.6674, allocations: 2.722 MB / 0.7331 GB, free: 5.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.6675, allocations: 3.188 kB / 0.7331 GB, free: 5.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6675, allocations: 0 / 0.7331 GB, free: 5.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.734e-05/0.6675, allocations: 0 / 0.7331 GB, free: 5.48 MB / 0.545 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.004839/0.6724, allocations: 2.076 MB / 0.7352 GB, free: 3.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6724, allocations: 8.375 kB / 0.7352 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.6775, allocations: 0.7493 MB / 0.7359 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.6809, allocations: 1.614 MB / 0.7375 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.6811, allocations: 137.2 kB / 0.7376 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.6813, allocations: 124.9 kB / 0.7377 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.6853, allocations: 1.737 MB / 0.7394 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6853, allocations: 8 kB / 0.7394 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.6855, allocations: 52 kB / 0.7395 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.6855, allocations: 36 kB / 0.7395 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004342/0.6899, allocations: 1.539 MB / 0.741 GB, free: 15.07 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.01054/0.7004, allocations: 7.548 MB / 0.7484 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.704, allocations: 1.189 MB / 0.7495 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.7058, allocations: 0.6117 MB / 0.7501 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.7071, allocations: 1.275 MB / 0.7514 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/0.7092, allocations: 0.6991 MB / 0.7521 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.657e-06/0.7092, allocations: 0 / 0.7521 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.01579/0.725, allocations: 3.226 MB / 0.7552 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.7251, allocations: 145.2 kB / 0.7554 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.7269, allocations: 1.259 MB / 0.7566 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.7271, allocations: 57.69 kB / 0.7566 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006496/0.7277, allocations: 0.7153 MB / 0.7573 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.7281, allocations: 280.1 kB / 0.7576 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.7282, allocations: 20 kB / 0.7576 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.7283, allocations: 341.9 kB / 0.758 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.7302, allocations: 0.525 MB / 0.7585 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.7322, allocations: 0.8138 MB / 0.7593 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.7339, allocations: 0.5768 MB / 0.7598 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.734, allocations: 8 kB / 0.7598 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0048/0.7388, allocations: 1.664 MB / 0.7615 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.739, allocations: 277 kB / 0.7617 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.739, allocations: 8 kB / 0.7617 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.7409, allocations: 0.5722 MB / 0.7623 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.7422, allocations: 255.6 kB / 0.7625 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.7441, allocations: 1.179 MB / 0.7637 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.7465, allocations: 230.8 kB / 0.7639 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.7466, allocations: 59.94 kB / 0.764 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.7467, allocations: 4 kB / 0.764 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004541/0.7512, allocations: 1.507 MB / 0.7654 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.7512, allocations: 4 kB / 0.7654 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.7531, allocations: 0.5783 MB / 0.766 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7543, allocations: 255.6 kB / 0.7662 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.7562, allocations: 1.174 MB / 0.7674 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.7582, allocations: 227.1 kB / 0.7676 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.7583, allocations: 51.95 kB / 0.7677 GB, free: 2.754 MB / 0.5762 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009468/0.7593, allocations: 472.8 kB / 0.7681 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.7597, allocations: 146.2 kB / 0.7682 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.7708, allocations: 2.169 MB / 0.7704 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/0.7709, allocations: 11.95 kB / 0.7704 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7709, allocations: 0 / 0.7704 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01056/0.7815, allocations: 1.99 MB / 0.7723 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008984/0.7905, allocations: 3.664 MB / 0.7759 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.7906, allocations: 4 kB / 0.7759 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7916, allocations: 179.9 kB / 0.7761 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.7934, allocations: 0.5585 MB / 0.7766 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7935, allocations: 35.94 kB / 0.7767 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.7954, allocations: 1.166 MB / 0.7778 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7954, allocations: 48 / 0.7778 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007041/0.8025, allocations: 1.616 MB / 0.7794 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/0.804, allocations: 406.9 kB / 0.7798 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006079/0.8047, allocations: 20 kB / 0.7798 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/0.8076, allocations: 159.7 kB / 0.7799 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.8078, allocations: 52.58 kB / 0.78 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/0.808, allocations: 63.92 kB / 0.78 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002426/0.8104, allocations: 0.8595 MB / 0.7809 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8105, allocations: 0 / 0.7809 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004936/0.8154, allocations: 0.9625 MB / 0.7818 GB, free: 3.918 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003327/0.8188, allocations: 0.8603 MB / 0.7827 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01046/0.8292, allocations: 2.033 MB / 0.7846 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.8293, allocations: 4 kB / 0.7847 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.8327, allocations: 0.64 MB / 0.7853 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00624/0.8389, allocations: 0.7584 MB / 0.786 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009796/0.8488, allocations: 3.232 MB / 0.7892 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.85, allocations: 1.263 MB / 0.7904 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002904/0.8529, allocations: 367.9 kB / 0.7908 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/0.8536, allocations: 147.3 kB / 0.7909 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of SimCode: time 1.352e-06/0.8536, allocations: 0 / 0.7909 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Templates: time 0.09311/0.9467, allocations: 37.22 MB / 0.8272 GB, free: 5.91 MB / 0.6387 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)