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.001253/0.001253, allocations: 90.84 kB / 16.67 MB, free: 5.742 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.001392/0.001392, allocations: 180.5 kB / 17.58 MB, free: 5.477 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.386/1.386, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.5 MB / 408.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003879, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4133, allocations: 77.52 MB / 0.5606 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1216/0.535, allocations: 123.3 MB / 0.681 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.561, allocations: 15.39 MB / 0.696 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.5648, allocations: 75.44 kB / 0.6961 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.5677, allocations: 0.7848 MB / 0.6969 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007433/0.5752, allocations: 2.396 MB / 0.6992 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005627/0.5808, allocations: 1.915 MB / 0.7011 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008266/0.5891, allocations: 6.029 MB / 0.707 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.592, allocations: 1.364 MB / 0.7083 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.5959, allocations: 1.478 MB / 0.7097 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.5985, allocations: 1.24 MB / 0.711 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005723/0.5991, allocations: 68 kB / 0.711 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.6041, allocations: 1.805 MB / 0.7128 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007185/0.6049, allocations: 362.3 kB / 0.7131 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.6068, allocations: 0.9538 MB / 0.7141 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004326/0.6111, allocations: 2.78 MB / 0.7168 GB, free: 3.164 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6112, allocations: 0 / 0.7168 GB, free: 3.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6112, allocations: 4 kB / 0.7168 GB, free: 3.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.089e-05/0.6113, allocations: 0 / 0.7168 GB, free: 3.16 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.004922/0.6162, allocations: 2.069 MB / 0.7188 GB, free: 1.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6163, allocations: 12.03 kB / 0.7188 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/0.6223, allocations: 0.7478 MB / 0.7195 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.626, allocations: 1.663 MB / 0.7212 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.6262, allocations: 136.1 kB / 0.7213 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.6266, allocations: 124 kB / 0.7214 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/0.6312, allocations: 1.743 MB / 0.7231 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.6312, allocations: 3.938 kB / 0.7231 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.6314, allocations: 63.98 kB / 0.7232 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.6314, allocations: 36 kB / 0.7232 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.6363, allocations: 1.539 MB / 0.7247 GB, free: 10.79 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.01107/0.6474, allocations: 7.572 MB / 0.7321 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/0.6516, allocations: 1.182 MB / 0.7333 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.6537, allocations: 0.6082 MB / 0.7339 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.6551, allocations: 1.275 MB / 0.7351 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002381/0.6575, allocations: 0.7069 MB / 0.7358 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.6576, allocations: 0 / 0.7358 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01912/0.6767, allocations: 3.265 MB / 0.739 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.6768, allocations: 137.2 kB / 0.7391 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.6791, allocations: 1.271 MB / 0.7404 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.6793, allocations: 53.64 kB / 0.7404 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/0.68, allocations: 0.7231 MB / 0.7411 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.6804, allocations: 272.1 kB / 0.7414 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.6806, allocations: 81.67 kB / 0.7415 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6807, allocations: 345.9 kB / 0.7418 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.6828, allocations: 0.5328 MB / 0.7423 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.6852, allocations: 0.8139 MB / 0.7431 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.6895, allocations: 1.26 MB / 0.7443 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.6895, allocations: 4 kB / 0.7443 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005781/0.6953, allocations: 1.683 MB / 0.746 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.6955, allocations: 273.4 kB / 0.7462 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.6955, allocations: 8 kB / 0.7462 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.6977, allocations: 0.5737 MB / 0.7468 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.6992, allocations: 251.6 kB / 0.747 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.7014, allocations: 1.174 MB / 0.7482 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.7037, allocations: 222.9 kB / 0.7484 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.704, allocations: 67.88 kB / 0.7485 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.704, allocations: 4 kB / 0.7485 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3136/1.018, allocations: 1.504 MB / 0.7499 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.018, allocations: 6.781 kB / 0.7499 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.02, allocations: 0.5694 MB / 0.7505 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.022, allocations: 248.6 kB / 0.7507 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/1.024, allocations: 1.182 MB / 0.7519 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.027, allocations: 220.2 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/1.027, allocations: 55.42 kB / 0.7522 GB, free: 167 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.001189/1.028, allocations: 478.5 kB / 0.7526 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005603/1.029, allocations: 148.6 kB / 0.7528 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.043, allocations: 2.166 MB / 0.7549 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.819e-05/1.043, allocations: 12.75 kB / 0.7549 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/1.043, allocations: 1.844 kB / 0.7549 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01359/1.057, allocations: 2.008 MB / 0.7568 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.068, allocations: 3.666 MB / 0.7604 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.068, allocations: 1.859 kB / 0.7604 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.069, allocations: 183.2 kB / 0.7606 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/1.071, allocations: 0.5492 MB / 0.7611 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.071, allocations: 37.27 kB / 0.7612 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/1.073, allocations: 1.167 MB / 0.7623 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.073, allocations: 6.891 kB / 0.7623 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/1.079, allocations: 1.613 MB / 0.7639 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.08, allocations: 411.6 kB / 0.7643 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/1.081, allocations: 19.69 kB / 0.7643 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.083, allocations: 164.7 kB / 0.7645 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.083, allocations: 57.52 kB / 0.7645 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/1.084, allocations: 55.45 kB / 0.7646 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001906/1.086, allocations: 0.8687 MB / 0.7654 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/1.086, allocations: 0 / 0.7654 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003843/1.089, allocations: 0.9624 MB / 0.7664 GB, free: 161.6 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.002585/1.092, allocations: 0.8818 MB / 0.7672 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007658/1.1, allocations: 2.05 MB / 0.7692 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.1, allocations: 6.312 kB / 0.7692 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002379/1.102, allocations: 0.6395 MB / 0.7699 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005383/1.107, allocations: 0.7638 MB / 0.7706 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/1.116, allocations: 3.42 MB / 0.7739 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.117, allocations: 1.252 MB / 0.7752 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/1.118, allocations: 169.5 kB / 0.7753 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/1.118, allocations: 0 / 0.7753 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05601/1.174, allocations: 37.05 MB / 0.8115 GB, free: 129.6 MB / 0.5762 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)