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.001238/0.001238, allocations: 101.8 kB / 16.35 MB, free: 5.824 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.001173/0.001173, allocations: 194.7 kB / 17.3 MB, free: 5.48 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3648, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.107/0.4718, allocations: 126.1 MB / 0.7046 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02017/0.492, allocations: 15.4 MB / 0.7197 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4943, allocations: 79.5 kB / 0.7198 GB, free: 232 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.4966, allocations: 0.9587 MB / 0.7207 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006272/0.5029, allocations: 2.604 MB / 0.7232 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.5081, allocations: 2.122 MB / 0.7253 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005768/0.5139, allocations: 4.801 MB / 0.73 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.516, allocations: 1.708 MB / 0.7317 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.5194, allocations: 1.828 MB / 0.7335 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.5212, allocations: 1.338 MB / 0.7348 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.5214, allocations: 204 kB / 0.735 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.5255, allocations: 2.048 MB / 0.737 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005523/0.5261, allocations: 0.4944 MB / 0.7374 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.5272, allocations: 1.085 MB / 0.7385 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.5317, allocations: 3.701 MB / 0.7421 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5317, allocations: 0 / 0.7421 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5317, allocations: 0 / 0.7421 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.825e-05/0.5318, allocations: 0 / 0.7421 GB, free: 9.285 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.0039/0.5357, allocations: 2.447 MB / 0.7445 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5357, allocations: 8.031 kB / 0.7445 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.5412, allocations: 0.7199 MB / 0.7452 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.5444, allocations: 1.685 MB / 0.7469 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.5445, allocations: 136.1 kB / 0.747 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.5447, allocations: 131.9 kB / 0.7471 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.5485, allocations: 1.727 MB / 0.7488 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.5485, allocations: 3.938 kB / 0.7488 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.5487, allocations: 56 kB / 0.7489 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.5487, allocations: 39.92 kB / 0.7489 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/0.5533, allocations: 1.512 MB / 0.7504 GB, free: 0.5781 MB / 0.5762 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.2798/0.8331, allocations: 7.524 MB / 0.7577 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.8372, allocations: 1.166 MB / 0.7589 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.8392, allocations: 0.5956 MB / 0.7594 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.8403, allocations: 1.27 MB / 0.7607 GB, free: 155 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002363/0.8427, allocations: 0.702 MB / 0.7614 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.587e-06/0.8427, allocations: 0.5625 kB / 0.7614 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01698/0.8597, allocations: 3.157 MB / 0.7644 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.8598, allocations: 143.9 kB / 0.7646 GB, free: 153 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.8616, allocations: 1.295 MB / 0.7658 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.8618, allocations: 44.42 kB / 0.7659 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.8622, allocations: 0.719 MB / 0.7666 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.8625, allocations: 275.7 kB / 0.7669 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.8628, allocations: 226 kB / 0.7671 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.8629, allocations: 341 kB / 0.7674 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.8648, allocations: 0.5334 MB / 0.7679 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.8667, allocations: 0.7944 MB / 0.7687 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.8703, allocations: 1.234 MB / 0.7699 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.8703, allocations: 6.125 kB / 0.7699 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004724/0.8751, allocations: 1.654 MB / 0.7715 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8751, allocations: 7.906 kB / 0.7715 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8751, allocations: 3.906 kB / 0.7715 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.8769, allocations: 0.569 MB / 0.7721 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.8781, allocations: 252.4 kB / 0.7723 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.8798, allocations: 1.169 MB / 0.7735 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.8816, allocations: 181.3 kB / 0.7736 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.8817, allocations: 51.61 kB / 0.7737 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002238/0.884, allocations: 0.8315 MB / 0.7745 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00186/0.8858, allocations: 0.7911 MB / 0.7753 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003407/0.8893, allocations: 1.212 MB / 0.7765 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.109e-06/0.8893, allocations: 7.469 kB / 0.7765 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.004655/0.8939, allocations: 1.64 MB / 0.7781 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.894, allocations: 12.12 kB / 0.7781 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.894, allocations: 11.92 kB / 0.7781 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.8956, allocations: 0.5616 MB / 0.7786 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.8969, allocations: 247.6 kB / 0.7789 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.8985, allocations: 1.166 MB / 0.78 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.9003, allocations: 159.2 kB / 0.7802 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/0.9004, allocations: 54.62 kB / 0.7802 GB, free: 142 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 ($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.0003498/0.9007, allocations: 253.2 kB / 0.7805 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.901, allocations: 146.2 kB / 0.7806 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.9122, allocations: 2.118 MB / 0.7827 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.9123, allocations: 11.94 kB / 0.7827 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9123, allocations: 4 kB / 0.7827 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/0.923, allocations: 1.947 MB / 0.7846 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.9312, allocations: 3.657 MB / 0.7882 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.9312, allocations: 4.188 kB / 0.7882 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.9323, allocations: 175.7 kB / 0.7883 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.934, allocations: 0.5515 MB / 0.7889 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.048e-05/0.9341, allocations: 35.94 kB / 0.7889 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.9358, allocations: 1.151 MB / 0.79 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9358, allocations: 0 / 0.79 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.9404, allocations: 1.604 MB / 0.7916 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/0.9414, allocations: 371.1 kB / 0.7919 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.9417, allocations: 23.98 kB / 0.792 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.9434, allocations: 119.8 kB / 0.7921 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9435, allocations: 60.45 kB / 0.7921 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.9437, allocations: 59.61 kB / 0.7922 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001282/0.945, allocations: 0.8751 MB / 0.793 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.945, allocations: 0.6562 kB / 0.793 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002625/0.9476, allocations: 0.9704 MB / 0.794 GB, free: 127.7 MB / 0.5762 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.001992/0.9496, allocations: 0.8866 MB / 0.7949 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006392/0.956, allocations: 2.018 MB / 0.7968 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.956, allocations: 7.781 kB / 0.7968 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.958, allocations: 0.6243 MB / 0.7975 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.9613, allocations: 0.7725 MB / 0.7982 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.9665, allocations: 2.688 MB / 0.8008 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.9672, allocations: 1.263 MB / 0.8021 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001446/0.9686, allocations: 369.7 kB / 0.8024 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.969, allocations: 143.3 kB / 0.8026 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.969, allocations: 0 / 0.8026 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04863/1.018, allocations: 40.01 MB / 0.8416 GB, free: 79.64 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)