Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.001612/0.001612, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001541/0.001541, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.00213/0.00213, allocations: 68.98 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004847/1.009, allocations: 2.319 MB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002949/1.012, allocations: 1.601 MB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/1.012, allocations: 7.562 kB / 1.283 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006909/1.013, allocations: 178.8 kB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005461/1.013, allocations: 183.9 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/1.014, allocations: 130.1 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004962/1.014, allocations: 275.6 kB / 1.284 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/1.014, allocations: 40.02 kB / 1.284 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/1.015, allocations: 123.9 kB / 1.284 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/1.015, allocations: 116.5 kB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/1.015, allocations: 13.75 kB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/1.015, allocations: 59.81 kB / 1.284 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/1.015, allocations: 104.7 kB / 1.284 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/1.015, allocations: 155.3 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000738/1.016, allocations: 399.6 kB / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.016, allocations: 0 / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.016, allocations: 0 / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.623e-05/1.016, allocations: 1.375 kB / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001504/1.018, allocations: 0.7384 MB / 1.285 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.018, allocations: 14.12 kB / 1.285 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.531e-05/1.018, allocations: 1.531 kB / 1.285 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/1.018, allocations: 39.12 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/1.018, allocations: 51.8 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/1.019, allocations: 408.2 kB / 1.286 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/1.019, allocations: 15.91 kB / 1.286 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/1.019, allocations: 9.859 kB / 1.286 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/1.019, allocations: 98.47 kB / 1.286 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.019, allocations: 4 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.019, allocations: 1.969 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.019, allocations: 0.9688 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/1.019, allocations: 51.25 kB / 1.286 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/1.02, allocations: 0.4941 MB / 1.286 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/1.021, allocations: 101.4 kB / 1.286 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/1.021, allocations: 38.2 kB / 1.286 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/1.021, allocations: 1.188 kB / 1.286 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/1.021, allocations: 82.58 kB / 1.287 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/1.021, allocations: 5.406 kB / 1.287 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005726/1.022, allocations: 179 kB / 1.287 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/1.022, allocations: 54.27 kB / 1.287 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009834/1.023, allocations: 0.5052 MB / 1.287 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.023, allocations: 36.69 kB / 1.287 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/1.023, allocations: 227.5 kB / 1.288 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/1.023, allocations: 31.97 kB / 1.288 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.023, allocations: 46.09 kB / 1.288 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.023, allocations: 368.3 kB / 1.288 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.023, allocations: 48.17 kB / 1.288 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/1.024, allocations: 77.48 kB / 1.288 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/1.024, allocations: 99.44 kB / 1.288 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.024, allocations: 1.125 kB / 1.288 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004163/1.024, allocations: 218.3 kB / 1.288 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.024, allocations: 5.312 kB / 1.288 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.024, allocations: 2.797 kB / 1.288 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.024, allocations: 1.25 kB / 1.288 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/1.024, allocations: 37.64 kB / 1.288 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.024, allocations: 2.594 kB / 1.288 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/1.025, allocations: 21.75 kB / 1.288 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/1.025, allocations: 10.66 kB / 1.288 GB, free: 5.301 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002273/1.025, allocations: 195 kB / 1.289 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/1.025, allocations: 47.44 kB / 1.289 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.46e-05/1.025, allocations: 48.67 kB / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.025, allocations: 1.375 kB / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.025, allocations: 0 / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.025, allocations: 0 / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/1.025, allocations: 330.5 kB / 1.289 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.025, allocations: 0 / 1.289 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/1.026, allocations: 7.969 kB / 1.289 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.026, allocations: 3.938 kB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.026, allocations: 4.469 kB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.026, allocations: 5.312 kB / 1.289 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.026, allocations: 0 / 1.289 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/1.026, allocations: 218.8 kB / 1.289 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.026, allocations: 117 kB / 1.289 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/1.026, allocations: 2.062 kB / 1.289 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.026, allocations: 10.41 kB / 1.289 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/1.026, allocations: 11.83 kB / 1.289 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.026, allocations: 6.219 kB / 1.289 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004516/1.027, allocations: 363.3 kB / 1.29 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.027, allocations: 0 / 1.29 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003016/1.027, allocations: 51.92 kB / 1.29 GB, free: 4.402 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002227/1.029, allocations: 1.074 MB / 1.291 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003238/1.03, allocations: 104.9 kB / 1.291 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.03, allocations: 0 / 1.291 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/1.03, allocations: 41.33 kB / 1.291 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/1.03, allocations: 68.47 kB / 1.291 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/1.035, allocations: 3.179 MB / 1.294 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/1.035, allocations: 0.8259 MB / 1.295 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001378/1.035, allocations: 41.16 kB / 1.295 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/1.035, allocations: 129.1 kB / 1.295 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.035, allocations: 1.531 kB / 1.295 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/1.07, allocations: 7.874 MB / 1.303 GB, free: 15.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.333/10.4, allocations: 19.19 kB / 1.303 GB, free: 15.49 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.929190230031963] Failed to read output from testmodel.py, exit status != 0: 10.592312852968462 10.621021701 9.599709102 Calling exit ...