Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 221.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.395/3.395, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 65.77 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3968, allocations: 176.1 MB / 1.327 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004116/0.4009, allocations: 2.003 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.4027, allocations: 0.7598 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.403, allocations: 7.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.4031, allocations: 39.59 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.4033, allocations: 43.53 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.4039, allocations: 191.7 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.4044, allocations: 407.1 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.4048, allocations: 204.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.405, allocations: 139.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.4053, allocations: 155.2 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.4053, allocations: 44 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.4054, allocations: 48 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4055, allocations: 79.77 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.4057, allocations: 127.4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.4063, allocations: 426.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4063, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4063, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4063, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009587/0.4072, allocations: 0.509 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4073, allocations: 16.03 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.556e-05/0.4073, allocations: 4.844 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.127e-05/0.4074, allocations: 62.73 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.4079, allocations: 64.7 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.4083, allocations: 222 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.4084, allocations: 29.03 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.4084, allocations: 28.38 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.4091, allocations: 317 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4091, allocations: 3.938 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.4091, allocations: 16 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.4092, allocations: 8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.4097, allocations: 234.4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.4112, allocations: 0.8048 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.4117, allocations: 228.2 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.4119, allocations: 105.3 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.412, allocations: 4.234 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.4123, allocations: 147.6 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.4123, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.000724/0.413, allocations: 337.9 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.4131, allocations: 55.41 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4133, allocations: 215 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.4134, allocations: 41.69 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.4135, allocations: 160.8 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.4136, allocations: 79.34 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.4137, allocations: 77.67 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4139, allocations: 338.8 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4141, allocations: 91.95 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.4143, allocations: 153.7 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.4147, allocations: 218 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4147, allocations: 7.938 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005479/0.4153, allocations: 304.8 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4153, allocations: 4 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4153, allocations: 4 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4153, allocations: 0 / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4155, allocations: 47.89 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4155, allocations: 4 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4157, allocations: 39.81 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.4158, allocations: 16.16 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.416, allocations: 177.6 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.416, allocations: 23.86 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.4161, allocations: 34.58 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4161, allocations: 4 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4161, allocations: 0 / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4161, allocations: 0 / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.4171, allocations: 0.6538 MB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4172, allocations: 0 / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.4173, allocations: 31.91 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4173, allocations: 4 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.4173, allocations: 4 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4173, allocations: 0 / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4173, allocations: 3.938 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.4178, allocations: 349.4 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.4179, allocations: 23.8 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.4179, allocations: 11.98 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4181, allocations: 23.97 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4182, allocations: 43.88 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.4182, allocations: 11.98 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001214/0.4184, allocations: 143 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4184, allocations: 0 / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003055/0.4187, allocations: 59.89 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008824/0.4195, allocations: 0.9016 MB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005011/0.42, allocations: 227.8 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.42, allocations: 0 / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.4203, allocations: 111.9 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4206, allocations: 40.23 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.4241, allocations: 2.549 MB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4242, allocations: 150.9 kB / 1.341 GB, free: 1.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.4243, allocations: 30.28 kB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.4245, allocations: 87.41 kB / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4245, allocations: 0 / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.4532, allocations: 5.807 MB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.16, allocations: 0 / 1.347 GB, free: 12.21 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.135378113016486] Failed to read output from testmodel.py, exit status != 0: 12.327779956976883 12.350468277 11.940156678 Calling exit ...