Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001142/0.001142, allocations: 108.5 kB / 17.08 MB, free: 5.996 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.001159/0.001159, allocations: 192.7 kB / 18.01 MB, free: 5.074 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.666/0.666, allocations: 115.3 MB / 407.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 65.5 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 76.18 MB / 0.6328 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4442/0.5869, allocations: 126.1 MB / 0.7559 GB, free: 28.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.6079, allocations: 15.42 MB / 0.7709 GB, free: 28.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003797/0.6117, allocations: 77.25 kB / 0.771 GB, free: 28.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.6151, allocations: 0.9619 MB / 0.772 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.6236, allocations: 2.607 MB / 0.7745 GB, free: 28.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006823/0.6304, allocations: 2.136 MB / 0.7766 GB, free: 28.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008158/0.6386, allocations: 4.793 MB / 0.7813 GB, free: 28.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/0.6418, allocations: 1.705 MB / 0.7829 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005195/0.6471, allocations: 1.875 MB / 0.7848 GB, free: 27.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.6505, allocations: 1.339 MB / 0.7861 GB, free: 27.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.651, allocations: 203.2 kB / 0.7863 GB, free: 27.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005346/0.6564, allocations: 2.045 MB / 0.7883 GB, free: 27.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006466/0.6571, allocations: 0.4975 MB / 0.7888 GB, free: 26.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.6589, allocations: 1.078 MB / 0.7898 GB, free: 26.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007066/0.666, allocations: 3.698 MB / 0.7934 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.666, allocations: 2.719 kB / 0.7934 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/0.666, allocations: 0 / 0.7934 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.55e-05/0.6661, allocations: 0 / 0.7934 GB, free: 24.96 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.004298/0.6704, allocations: 2.451 MB / 0.7958 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6704, allocations: 11.28 kB / 0.7958 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.6754, allocations: 0.7165 MB / 0.7965 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.6782, allocations: 1.699 MB / 0.7982 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6784, allocations: 134.3 kB / 0.7983 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.6786, allocations: 127.4 kB / 0.7984 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/0.682, allocations: 1.72 MB / 0.8001 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.6821, allocations: 6.812 kB / 0.8001 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.6822, allocations: 53.59 kB / 0.8002 GB, free: 20.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.6822, allocations: 40.08 kB / 0.8002 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004056/0.6863, allocations: 1.505 MB / 0.8017 GB, free: 19.72 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.008915/0.6952, allocations: 7.549 MB / 0.809 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.6988, allocations: 1.147 MB / 0.8102 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.7005, allocations: 0.6006 MB / 0.8108 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009207/0.7014, allocations: 1.278 MB / 0.812 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.7034, allocations: 0.6893 MB / 0.8127 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.7034, allocations: 0 / 0.8127 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.0157/0.7191, allocations: 3.167 MB / 0.8158 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.7192, allocations: 137.5 kB / 0.8159 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.7208, allocations: 1.289 MB / 0.8172 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.721, allocations: 49.7 kB / 0.8172 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.7215, allocations: 0.7263 MB / 0.8179 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.7217, allocations: 277.5 kB / 0.8182 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.722, allocations: 214.4 kB / 0.8184 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.7221, allocations: 349.9 kB / 0.8187 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.7237, allocations: 0.5239 MB / 0.8192 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.7256, allocations: 0.8042 MB / 0.82 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.7289, allocations: 1.231 MB / 0.8212 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.7289, allocations: 0 / 0.8212 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00462/0.7336, allocations: 1.664 MB / 0.8228 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7336, allocations: 4 kB / 0.8228 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7336, allocations: 8 kB / 0.8229 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.7353, allocations: 0.5699 MB / 0.8234 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7365, allocations: 243.6 kB / 0.8236 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.7383, allocations: 1.17 MB / 0.8248 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.7402, allocations: 182.8 kB / 0.825 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.7403, allocations: 59.94 kB / 0.825 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002382/0.7427, allocations: 0.8259 MB / 0.8258 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002008/0.7447, allocations: 0.7905 MB / 0.8266 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003673/0.7484, allocations: 1.22 MB / 0.8278 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.661e-06/0.7484, allocations: 0 / 0.8278 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005001/0.7535, allocations: 1.636 MB / 0.8294 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7535, allocations: 8.625 kB / 0.8294 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7535, allocations: 8 kB / 0.8294 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.7553, allocations: 0.571 MB / 0.83 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.7566, allocations: 247.6 kB / 0.8302 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.7586, allocations: 1.17 MB / 0.8313 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.7605, allocations: 151.3 kB / 0.8315 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.7607, allocations: 57.52 kB / 0.8315 GB, free: 8.277 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.0004351/0.7611, allocations: 250 kB / 0.8318 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/0.7617, allocations: 150.2 kB / 0.8319 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.7735, allocations: 2.122 MB / 0.834 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.7735, allocations: 8 kB / 0.834 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7735, allocations: 0 / 0.834 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0111/0.7846, allocations: 1.954 MB / 0.8359 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.7939, allocations: 3.65 MB / 0.8395 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.794, allocations: 3.938 kB / 0.8395 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.795, allocations: 179.8 kB / 0.8396 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.7969, allocations: 0.5437 MB / 0.8402 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.797, allocations: 35.95 kB / 0.8402 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.799, allocations: 1.158 MB / 0.8413 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.799, allocations: 4 kB / 0.8413 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.8042, allocations: 1.592 MB / 0.8429 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000989/0.8053, allocations: 387 kB / 0.8433 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.8057, allocations: 12 kB / 0.8433 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.8075, allocations: 115.9 kB / 0.8434 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.8077, allocations: 52.53 kB / 0.8434 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.8079, allocations: 55.92 kB / 0.8435 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001424/0.8093, allocations: 0.8829 MB / 0.8444 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8093, allocations: 0 / 0.8444 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003079/0.8124, allocations: 0.9743 MB / 0.8453 GB, free: 9.914 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.002138/0.8145, allocations: 0.8895 MB / 0.8462 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006785/0.8213, allocations: 2.022 MB / 0.8481 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.8214, allocations: 0 / 0.8481 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/0.8235, allocations: 0.6321 MB / 0.8488 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/0.8275, allocations: 0.7717 MB / 0.8495 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.8341, allocations: 2.736 MB / 0.8522 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.8352, allocations: 1.251 MB / 0.8534 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/0.8358, allocations: 163.3 kB / 0.8536 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.8358, allocations: 0 / 0.8536 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.05165/0.8875, allocations: 37.77 MB / 0.8905 GB, free: 12.07 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)