Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001758/0.001758, allocations: 108.5 kB / 16.4 MB, free: 6.504 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.00171/0.00171, allocations: 192.5 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.425/1.425, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.101 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.843, allocations: 163.8 MB / 1.261 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004128/0.8472, allocations: 2.443 MB / 1.263 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.8482, allocations: 0.5392 MB / 1.264 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.8483, allocations: 4 kB / 1.264 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.8488, allocations: 123.5 kB / 1.264 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.849, allocations: 95.22 kB / 1.264 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.8491, allocations: 43.95 kB / 1.264 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.8494, allocations: 242.7 kB / 1.264 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.8496, allocations: 103.1 kB / 1.265 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.8498, allocations: 87.66 kB / 1.265 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.8499, allocations: 95.5 kB / 1.265 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.85, allocations: 23.94 kB / 1.265 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.85, allocations: 20 kB / 1.265 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.8501, allocations: 83.62 kB / 1.265 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.8503, allocations: 155 kB / 1.265 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.8508, allocations: 345 kB / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8508, allocations: 4 kB / 1.265 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.396e-06/0.8508, allocations: 0 / 1.265 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8508, allocations: 0 / 1.265 GB, free: 2.734 MB / 0.9669 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.0009483/0.8518, allocations: 0.6571 MB / 1.266 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8519, allocations: 8.031 kB / 1.266 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/0.8519, allocations: 46.73 kB / 1.266 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.852, allocations: 48.66 kB / 1.266 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.8524, allocations: 310.5 kB / 1.266 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8525, allocations: 12.38 kB / 1.266 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.8525, allocations: 16.38 kB / 1.266 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.8528, allocations: 141.9 kB / 1.267 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.8529, allocations: 7.938 kB / 1.267 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.8529, allocations: 4 kB / 1.267 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8529, allocations: 4 kB / 1.267 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.8531, allocations: 95.95 kB / 1.267 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.8541, allocations: 0.5781 MB / 1.267 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.8543, allocations: 94.52 kB / 1.267 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.8545, allocations: 52.95 kB / 1.267 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8545, allocations: 3.938 kB / 1.267 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.8545, allocations: 34.55 kB / 1.267 GB, free: 472 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.8545, allocations: 4 kB / 1.267 GB, free: 468 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003992/0.8549, allocations: 145.4 kB / 1.268 GB, free: 316 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.855, allocations: 55.34 kB / 1.268 GB, free: 248 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.8555, allocations: 390 kB / 1.268 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.8555, allocations: 29.7 kB / 1.268 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.8557, allocations: 224.2 kB / 1.268 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.8557, allocations: 28.12 kB / 1.268 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.8558, allocations: 29.7 kB / 1.268 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.856, allocations: 346.7 kB / 1.269 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.8561, allocations: 28 kB / 1.269 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.8562, allocations: 59.34 kB / 1.269 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.8564, allocations: 91.36 kB / 1.269 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8564, allocations: 0 / 1.269 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002631/0.8567, allocations: 149.4 kB / 1.269 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8567, allocations: 8 kB / 1.269 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8567, allocations: 0 / 1.269 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8567, allocations: 0 / 1.269 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.8568, allocations: 27.92 kB / 1.269 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8569, allocations: 4 kB / 1.269 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.857, allocations: 11.89 kB / 1.269 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.857, allocations: 7.938 kB / 1.269 GB, free: 14.77 MB / 0.9825 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.0001709/0.8571, allocations: 162.5 kB / 1.269 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.8572, allocations: 39.8 kB / 1.269 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.589e-05/0.8573, allocations: 39.2 kB / 1.269 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8573, allocations: 4 kB / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8573, allocations: 0 / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8573, allocations: 0 / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.8577, allocations: 305.5 kB / 1.269 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8577, allocations: 0 / 1.269 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.8578, allocations: 23.92 kB / 1.269 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8578, allocations: 0 / 1.269 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.8579, allocations: 4 kB / 1.269 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8579, allocations: 4 kB / 1.269 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8579, allocations: 4 kB / 1.27 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.8583, allocations: 263.1 kB / 1.27 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.8584, allocations: 112.9 kB / 1.27 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.8585, allocations: 7.984 kB / 1.27 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.8586, allocations: 0 / 1.27 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.8586, allocations: 7.938 kB / 1.27 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.8586, allocations: 4.062 kB / 1.27 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003249/0.859, allocations: 287.1 kB / 1.27 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.859, allocations: 0 / 1.27 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002924/0.8593, allocations: 47.89 kB / 1.27 GB, free: 13.39 MB / 0.9825 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.0007771/0.86, allocations: 0.7904 MB / 1.271 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.8603, allocations: 71.91 kB / 1.271 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8603, allocations: 4 kB / 1.271 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.8604, allocations: 35.92 kB / 1.271 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.8608, allocations: 31.77 kB / 1.271 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.8644, allocations: 2.714 MB / 1.274 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.865, allocations: 0.798 MB / 1.275 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.944e-05/0.8651, allocations: 12.64 kB / 1.275 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.8652, allocations: 103.4 kB / 1.275 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of SimCode: time 8.12e-07/0.8652, allocations: 0 / 1.275 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.8979, allocations: 4.963 MB / 1.279 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/9.81, allocations: 8.125 kB / 1.28 GB, free: 3.863 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.856648163869977] Failed to read output from testmodel.py, exit status != 0: 9.878910190891474 9.894908232 9.040865339 Calling exit ...