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.001039/0.001039, allocations: 99.2 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 179 kB / 16.92 MB, free: 6.922 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.34/1.34, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6823/0.6823, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003302, allocations: 8 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3477/0.4914, allocations: 123.3 MB / 0.6804 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.5127, allocations: 15.38 MB / 0.6954 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.515, allocations: 67.56 kB / 0.6955 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.5173, allocations: 0.7965 MB / 0.6962 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.5238, allocations: 2.396 MB / 0.6986 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/0.5287, allocations: 1.909 MB / 0.7005 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007345/0.5361, allocations: 6.014 MB / 0.7063 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.5384, allocations: 1.376 MB / 0.7077 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.5414, allocations: 1.474 MB / 0.7091 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.5522, allocations: 1.252 MB / 0.7103 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.5526, allocations: 72 kB / 0.7104 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004862/0.5575, allocations: 1.794 MB / 0.7122 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004452/0.5579, allocations: 362.3 kB / 0.7125 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.5592, allocations: 0.9616 MB / 0.7134 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.5642, allocations: 3.515 MB / 0.7169 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5642, allocations: 3.984 kB / 0.7169 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5642, allocations: 0 / 0.7169 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.599e-05/0.5643, allocations: 0 / 0.7169 GB, free: 5.809 MB / 0.5294 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.004102/0.5684, allocations: 2.074 MB / 0.7189 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5684, allocations: 8.031 kB / 0.7189 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005787/0.5742, allocations: 0.748 MB / 0.7196 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.577, allocations: 1.669 MB / 0.7213 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.5772, allocations: 128.1 kB / 0.7214 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.5774, allocations: 136 kB / 0.7215 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.5814, allocations: 1.748 MB / 0.7232 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5815, allocations: 0 / 0.7232 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.5817, allocations: 56 kB / 0.7233 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.5817, allocations: 43.92 kB / 0.7233 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004928/0.5866, allocations: 1.539 MB / 0.7248 GB, free: 13.42 MB / 0.545 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.01042/0.5971, allocations: 7.56 MB / 0.7322 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.6014, allocations: 1.194 MB / 0.7334 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.6035, allocations: 0.6039 MB / 0.734 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.6049, allocations: 1.271 MB / 0.7352 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002359/0.6073, allocations: 0.7069 MB / 0.7359 GB, free: 1.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 3.206e-06/0.6073, allocations: 0 / 0.7359 GB, free: 1.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.01856/0.6258, allocations: 3.269 MB / 0.7391 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.626, allocations: 137.2 kB / 0.7392 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.628, allocations: 1.275 MB / 0.7405 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.6282, allocations: 45.7 kB / 0.7405 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/0.6288, allocations: 0.7231 MB / 0.7412 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.6292, allocations: 276.1 kB / 0.7415 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.6293, allocations: 81.67 kB / 0.7416 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.6295, allocations: 353.8 kB / 0.7419 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.6315, allocations: 0.5328 MB / 0.7424 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.6338, allocations: 0.8139 MB / 0.7432 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.638, allocations: 1.248 MB / 0.7444 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.638, allocations: 0 / 0.7444 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005555/0.6436, allocations: 1.687 MB / 0.7461 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.6438, allocations: 269.5 kB / 0.7463 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6438, allocations: 12 kB / 0.7463 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.646, allocations: 0.5673 MB / 0.7469 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.6474, allocations: 259.5 kB / 0.7471 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.6495, allocations: 1.171 MB / 0.7483 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.6517, allocations: 230.9 kB / 0.7485 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.6518, allocations: 55.95 kB / 0.7486 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.6518, allocations: 4 kB / 0.7486 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004913/0.6568, allocations: 1.519 MB / 0.75 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6568, allocations: 8 kB / 0.7501 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.6587, allocations: 0.5706 MB / 0.7506 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.6601, allocations: 243.6 kB / 0.7508 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.6621, allocations: 1.181 MB / 0.752 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.6643, allocations: 219 kB / 0.7522 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.6644, allocations: 59.94 kB / 0.7523 GB, free: 172 kB / 0.5606 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.0009052/0.6653, allocations: 476.8 kB / 0.7527 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.6656, allocations: 150.2 kB / 0.7529 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.679, allocations: 2.175 MB / 0.755 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.6791, allocations: 8 kB / 0.755 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6791, allocations: 4 kB / 0.755 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01283/0.6919, allocations: 2.005 MB / 0.757 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008476/0.7004, allocations: 3.661 MB / 0.7605 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7005, allocations: 0 / 0.7605 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.7016, allocations: 187.8 kB / 0.7607 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.7035, allocations: 0.5475 MB / 0.7612 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/0.7036, allocations: 39.94 kB / 0.7613 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.7057, allocations: 1.162 MB / 0.7624 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7057, allocations: 8 kB / 0.7624 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/0.7108, allocations: 1.616 MB / 0.764 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.7117, allocations: 410.8 kB / 0.7644 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.712, allocations: 24 kB / 0.7644 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.7137, allocations: 151.8 kB / 0.7646 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.7138, allocations: 56.52 kB / 0.7646 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.7139, allocations: 55.92 kB / 0.7647 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001292/0.7152, allocations: 0.8711 MB / 0.7655 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7153, allocations: 4 kB / 0.7655 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002546/0.7178, allocations: 0.9664 MB / 0.7665 GB, free: 1.293 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.001986/0.7198, allocations: 0.8758 MB / 0.7673 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00703/0.7268, allocations: 2.057 MB / 0.7693 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.7269, allocations: 384 / 0.7693 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.7292, allocations: 0.6396 MB / 0.77 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/0.7335, allocations: 0.7592 MB / 0.7707 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.7396, allocations: 3.381 MB / 0.774 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.7405, allocations: 1.259 MB / 0.7752 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001777/0.7423, allocations: 373.9 kB / 0.7756 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.7427, allocations: 139.3 kB / 0.7757 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.7427, allocations: 0 / 0.7757 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of Templates: time 0.06067/0.8033, allocations: 38.21 MB / 0.813 GB, free: 2.105 MB / 0.6231 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)