Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.001452/0.001452, 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.00145/0.00145, allocations: 214.5 kB / 23.03 MB, free: 4.949 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.501/1.501, 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.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",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.001989/0.001989, allocations: 60.66 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003134/0.3661, allocations: 1.658 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1883/0.5545, allocations: 129.2 MB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.5546, allocations: 0 / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.5546, allocations: 11.86 kB / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.5547, allocations: 11.88 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.5556, allocations: 251.1 kB / 1.455 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.5558, allocations: 95.61 kB / 1.455 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.5559, allocations: 23.97 kB / 1.455 GB, free: 13.7 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.556, allocations: 43.84 kB / 1.455 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.5561, allocations: 39.84 kB / 1.455 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.5561, allocations: 8 kB / 1.455 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.5566, allocations: 211.4 kB / 1.455 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.5566, allocations: 19.92 kB / 1.455 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.5566, allocations: 35.8 kB / 1.455 GB, free: 13.35 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.557, allocations: 199.3 kB / 1.455 GB, free: 13.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.557, allocations: 0 / 1.455 GB, free: 13.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.733e-06/0.557, allocations: 4 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.557, allocations: 3.938 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007304/0.5577, allocations: 349.8 kB / 1.456 GB, free: 12.78 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5578, allocations: 12.03 kB / 1.456 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.524e-05/0.5578, allocations: 192 / 1.456 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.5579, allocations: 42.73 kB / 1.456 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.5591, allocations: 156.7 kB / 1.456 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.5593, allocations: 122 kB / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5594, allocations: 67.34 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.5594, allocations: 4 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.56, allocations: 171.7 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.56, allocations: 0 / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.56, allocations: 4 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.56, allocations: 0 / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.5608, allocations: 199.8 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.5618, allocations: 369.6 kB / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.5623, allocations: 126.5 kB / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.5627, allocations: 96.84 kB / 1.457 GB, free: 11.33 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.5628, allocations: 3.938 kB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5628, allocations: 42.48 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5628, allocations: 0 / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=6): time 0.001393/0.5642, allocations: 309.4 kB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.5643, allocations: 51.41 kB / 1.457 GB, free: 10.9 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5644, allocations: 138.9 kB / 1.458 GB, free: 10.76 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.5644, allocations: 29.7 kB / 1.458 GB, free: 10.72 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.5645, allocations: 104.1 kB / 1.458 GB, free: 10.62 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.5646, allocations: 15.91 kB / 1.458 GB, free: 10.6 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.5646, allocations: 25.7 kB / 1.458 GB, free: 10.57 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5648, allocations: 318.8 kB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.5652, allocations: 83.92 kB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.5656, allocations: 96.28 kB / 1.458 GB, free: 10.07 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.5664, allocations: 176.6 kB / 1.458 GB, free: 9.898 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5664, allocations: 0 / 1.458 GB, free: 9.898 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008161/0.5672, allocations: 221.4 kB / 1.459 GB, free: 9.676 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5672, allocations: 4 kB / 1.459 GB, free: 9.672 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5672, allocations: 0 / 1.459 GB, free: 9.672 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5672, allocations: 0 / 1.459 GB, free: 9.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.5675, allocations: 39.95 kB / 1.459 GB, free: 9.633 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5675, allocations: 0 / 1.459 GB, free: 9.633 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.5678, allocations: 39.84 kB / 1.459 GB, free: 9.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.5678, allocations: 4 kB / 1.459 GB, free: 9.59 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001139/0.568, allocations: 113.8 kB / 1.459 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.568, allocations: 19.89 kB / 1.459 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.568, allocations: 20.64 kB / 1.459 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.568, allocations: 0 / 1.459 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.568, allocations: 0 / 1.459 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.568, allocations: 4 kB / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.5683, allocations: 160.7 kB / 1.459 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5683, allocations: 3.938 kB / 1.459 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.5686, allocations: 43.95 kB / 1.459 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5686, allocations: 0 / 1.459 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5686, allocations: 7.938 kB / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5686, allocations: 0 / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5686, allocations: 0 / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.5696, allocations: 323.2 kB / 1.459 GB, free: 8.832 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.5696, allocations: 7.891 kB / 1.459 GB, free: 8.824 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.5696, allocations: 4.125 kB / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.5699, allocations: 39.95 kB / 1.459 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.5699, allocations: 7.984 kB / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.57, allocations: 0 / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.57, allocations: 109 kB / 1.459 GB, free: 8.668 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.57, allocations: 0 / 1.459 GB, free: 8.668 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002544/0.5703, allocations: 20 kB / 1.459 GB, free: 8.648 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001289/0.5716, allocations: 0.8567 MB / 1.46 GB, free: 7.766 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008136/0.5724, allocations: 191.8 kB / 1.461 GB, free: 7.578 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5724, allocations: 4 kB / 1.461 GB, free: 7.574 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.5728, allocations: 91.91 kB / 1.461 GB, free: 7.484 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.5732, allocations: 19.92 kB / 1.461 GB, free: 7.465 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.5774, allocations: 1.971 MB / 1.463 GB, free: 5.418 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.401e-05/0.5775, allocations: 79.83 kB / 1.463 GB, free: 5.316 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.5776, allocations: 19.64 kB / 1.463 GB, free: 5.297 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5777, allocations: 31.42 kB / 1.463 GB, free: 5.266 MB / 1.154 GB Notification: Performance of SimCode: time 8.42e-07/0.5777, allocations: 0 / 1.463 GB, free: 5.266 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.602, allocations: 3.209 MB / 1.466 GB, free: 2.238 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.21, allocations: 11.56 kB / 1.466 GB, free: 2.23 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.199379331083037] Failed to read output from testmodel.py, exit status != 0: 12.377201423048973 12.398963629 11.837729163 Calling exit ...