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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 99.05 kB / 16.02 MB, free: 80 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.0009326/0.0009327, allocations: 185.3 kB / 16.92 MB, free: 6.777 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.228/1.228, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6485/0.6485, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 8.719 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 77.53 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3124/0.4271, allocations: 123.3 MB / 0.6805 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.4458, allocations: 15.38 MB / 0.6955 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.4479, allocations: 67.56 kB / 0.6955 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.45, allocations: 0.7965 MB / 0.6963 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005545/0.4556, allocations: 2.394 MB / 0.6987 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.4598, allocations: 1.918 MB / 0.7005 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005632/0.4654, allocations: 6.014 MB / 0.7064 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.4673, allocations: 1.367 MB / 0.7077 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.4698, allocations: 1.485 MB / 0.7092 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.4712, allocations: 1.248 MB / 0.7104 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.4714, allocations: 72 kB / 0.7105 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.4741, allocations: 1.79 MB / 0.7122 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.4744, allocations: 370.3 kB / 0.7126 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.4752, allocations: 0.946 MB / 0.7135 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.4782, allocations: 3.532 MB / 0.717 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4782, allocations: 4 kB / 0.717 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4782, allocations: 0 / 0.717 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.4782, allocations: 0 / 0.717 GB, free: 5.93 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.002978/0.4812, allocations: 2.065 MB / 0.719 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4812, allocations: 12.03 kB / 0.719 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.4814, allocations: 186 kB / 0.7192 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005064/0.4865, allocations: 0.7478 MB / 0.7199 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.4886, allocations: 1.662 MB / 0.7215 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4887, allocations: 136.1 kB / 0.7216 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.4889, allocations: 120 kB / 0.7218 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.4922, allocations: 1.764 MB / 0.7235 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.4922, allocations: 0 / 0.7235 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.4924, allocations: 59.98 kB / 0.7235 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.4924, allocations: 35.98 kB / 0.7236 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/0.4966, allocations: 1.543 MB / 0.7251 GB, free: 13.35 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.008042/0.5047, allocations: 7.56 MB / 0.7325 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.5083, allocations: 1.188 MB / 0.7336 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.5102, allocations: 0.6001 MB / 0.7342 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.5113, allocations: 1.282 MB / 0.7355 GB, free: 2.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.5133, allocations: 0.7069 MB / 0.7362 GB, free: 1.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 2.104e-06/0.5133, allocations: 0 / 0.7362 GB, free: 1.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.01591/0.5292, allocations: 3.265 MB / 0.7393 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.5293, allocations: 137.2 kB / 0.7395 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5306, allocations: 1.273 MB / 0.7407 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.984e-05/0.5307, allocations: 49.7 kB / 0.7408 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.5312, allocations: 0.7192 MB / 0.7415 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.5314, allocations: 280.1 kB / 0.7417 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.5315, allocations: 77.67 kB / 0.7418 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.5316, allocations: 345.8 kB / 0.7421 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.5334, allocations: 0.5367 MB / 0.7427 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.5353, allocations: 0.8139 MB / 0.7435 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/0.5389, allocations: 1.252 MB / 0.7447 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5389, allocations: 0 / 0.7447 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004484/0.5434, allocations: 1.691 MB / 0.7463 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.5435, allocations: 273.5 kB / 0.7466 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5435, allocations: 8 kB / 0.7466 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.5453, allocations: 0.5788 MB / 0.7472 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5465, allocations: 251.6 kB / 0.7474 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.5482, allocations: 1.175 MB / 0.7486 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5498, allocations: 236.4 kB / 0.7488 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/0.5499, allocations: 59.89 kB / 0.7488 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/0.5499, allocations: 4 kB / 0.7488 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004229/0.5542, allocations: 1.519 MB / 0.7503 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5542, allocations: 4 kB / 0.7503 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.5558, allocations: 0.5643 MB / 0.7509 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.557, allocations: 251.6 kB / 0.7511 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.5589, allocations: 1.177 MB / 0.7523 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.5604, allocations: 219 kB / 0.7525 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5605, allocations: 55.94 kB / 0.7525 GB, free: 88 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.0005305/0.5611, allocations: 480.8 kB / 0.753 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.5613, allocations: 146.2 kB / 0.7531 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.573, allocations: 2.181 MB / 0.7553 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.573, allocations: 8 kB / 0.7553 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5731, allocations: 0 / 0.7553 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01104/0.5841, allocations: 2.001 MB / 0.7572 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.5907, allocations: 3.661 MB / 0.7608 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5907, allocations: 0 / 0.7608 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5917, allocations: 187.7 kB / 0.761 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.5934, allocations: 0.5542 MB / 0.7615 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.5934, allocations: 31.95 kB / 0.7615 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.5951, allocations: 1.162 MB / 0.7627 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5951, allocations: 4 kB / 0.7627 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.5994, allocations: 1.62 MB / 0.7643 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.5998, allocations: 406.8 kB / 0.7647 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.6, allocations: 27.92 kB / 0.7647 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.6015, allocations: 159.8 kB / 0.7648 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.6016, allocations: 52.53 kB / 0.7649 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/0.6017, allocations: 52.02 kB / 0.7649 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009336/0.6027, allocations: 0.8751 MB / 0.7658 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6027, allocations: 0 / 0.7658 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001829/0.6045, allocations: 0.9626 MB / 0.7667 GB, free: 1.219 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.005974/0.6105, allocations: 2.943 MB / 0.7696 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00585/0.6164, allocations: 2.057 MB / 0.7716 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6164, allocations: 0 / 0.7716 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.6183, allocations: 0.64 MB / 0.7722 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.6218, allocations: 0.7555 MB / 0.773 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/0.6471, allocations: 13.36 MB / 0.786 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.6478, allocations: 1.263 MB / 0.7872 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001589/0.6494, allocations: 372 kB / 0.7876 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/0.6502, allocations: 0.6242 MB / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.755e-06/0.6502, allocations: 0 / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.638/3.288, allocations: 50.33 MB / 0.8374 GB, free: 223.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/3.288, allocations: 277.4 kB / 0.8376 GB, free: 223 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/6.385, allocations: 3.188 kB / 0.8376 GB, free: 223 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)