Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 110.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7491 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 1.073 GB, free: 172 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8758, allocations: 159.1 MB / 1.229 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003867/0.8797, allocations: 2.441 MB / 1.231 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.8806, allocations: 0.5392 MB / 1.232 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.8807, allocations: 4 kB / 1.232 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.8811, allocations: 131.4 kB / 1.232 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.8813, allocations: 91.28 kB / 1.232 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.8814, allocations: 39.95 kB / 1.232 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.8817, allocations: 238.7 kB / 1.232 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.8819, allocations: 107.1 kB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.882, allocations: 87.66 kB / 1.232 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.8822, allocations: 103.4 kB / 1.232 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.8822, allocations: 19.94 kB / 1.232 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.478e-05/0.8823, allocations: 20 kB / 1.232 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.8824, allocations: 87.67 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.8826, allocations: 151 kB / 1.233 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.8829, allocations: 348.3 kB / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.883, allocations: 0 / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.883, allocations: 0 / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.883, allocations: 0 / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008979/0.8839, allocations: 0.6571 MB / 1.234 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8839, allocations: 12.03 kB / 1.234 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.884, allocations: 46.73 kB / 1.234 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.8841, allocations: 52.64 kB / 1.234 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.8844, allocations: 302.5 kB / 1.234 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.8845, allocations: 16.31 kB / 1.234 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.8845, allocations: 16.38 kB / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.8848, allocations: 138 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.8848, allocations: 7.922 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.8849, allocations: 4 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8849, allocations: 4 kB / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.8851, allocations: 95.95 kB / 1.234 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.886, allocations: 0.5898 MB / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.8862, allocations: 90.55 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.8864, allocations: 40.89 kB / 1.235 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.8864, allocations: 4 kB / 1.235 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.8864, allocations: 38.56 kB / 1.235 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.8864, allocations: 0 / 1.235 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0003707/0.8868, allocations: 145.4 kB / 1.235 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8868, allocations: 55.41 kB / 1.235 GB, free: 14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.8873, allocations: 390 kB / 1.236 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.8873, allocations: 29.7 kB / 1.236 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.8875, allocations: 212.2 kB / 1.236 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.8875, allocations: 32.11 kB / 1.236 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.8876, allocations: 37.66 kB / 1.236 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.8878, allocations: 350.8 kB / 1.236 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.8879, allocations: 27.92 kB / 1.236 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.888, allocations: 64.22 kB / 1.236 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.8882, allocations: 87.31 kB / 1.236 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8882, allocations: 0 / 1.236 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000259/0.8884, allocations: 145.4 kB / 1.236 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8885, allocations: 7.984 kB / 1.236 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8885, allocations: 3.984 kB / 1.236 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.8885, allocations: 4 kB / 1.236 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.8886, allocations: 36.02 kB / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.8886, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.8887, allocations: 7.938 kB / 1.237 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.8887, allocations: 7.938 kB / 1.237 GB, free: 12.53 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001632/0.8889, allocations: 162.9 kB / 1.237 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.889, allocations: 35.77 kB / 1.237 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.889, allocations: 43.2 kB / 1.237 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.8891, allocations: 0 / 1.237 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8891, allocations: 0 / 1.237 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8891, allocations: 4 kB / 1.237 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.8894, allocations: 313.4 kB / 1.237 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8895, allocations: 0 / 1.237 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.8896, allocations: 23.98 kB / 1.237 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.8896, allocations: 7.984 kB / 1.237 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.8896, allocations: 0 / 1.237 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8896, allocations: 0 / 1.237 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8896, allocations: 0 / 1.237 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.89, allocations: 267.2 kB / 1.237 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.8901, allocations: 108.9 kB / 1.237 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.8902, allocations: 0 / 1.237 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.8903, allocations: 7.984 kB / 1.237 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.8903, allocations: 8 kB / 1.237 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.8903, allocations: 4 kB / 1.237 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002932/0.8906, allocations: 283.1 kB / 1.238 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8907, allocations: 0 / 1.238 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002705/0.8909, allocations: 43.89 kB / 1.238 GB, free: 11.15 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0007302/0.8917, allocations: 0.7943 MB / 1.239 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.8919, allocations: 71.91 kB / 1.239 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8919, allocations: 4.188 kB / 1.239 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.892, allocations: 39.92 kB / 1.239 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.8924, allocations: 30.05 kB / 1.239 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.8957, allocations: 2.72 MB / 1.241 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.8961, allocations: 0.802 MB / 1.242 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.253e-05/0.8962, allocations: 12.64 kB / 1.242 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.8963, allocations: 99.41 kB / 1.242 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.8963, allocations: 0 / 1.242 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.9263, allocations: 4.953 MB / 1.247 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.857, allocations: 13.56 kB / 1.247 GB, free: 1.617 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.715507650980726] Failed to read output from testmodel.py, exit status != 0: 9.928758410969749 9.944136285 9.058286404 Calling exit ...