Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.0018/0.0018, allocations: 215 kB / 20.13 MB, free: 2.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.582/1.582, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.031/3.031, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_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.002252/0.002252, allocations: 67.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003223/1.068, allocations: 2.296 MB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001978/1.07, allocations: 1.618 MB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/1.071, allocations: 0 / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/1.071, allocations: 178.9 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003703/1.071, allocations: 179.2 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/1.072, allocations: 136 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/1.072, allocations: 280.8 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/1.072, allocations: 33.98 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/1.072, allocations: 119 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/1.072, allocations: 118.6 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/1.072, allocations: 17 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/1.072, allocations: 62.23 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/1.073, allocations: 96.95 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/1.073, allocations: 155.3 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/1.073, allocations: 403.4 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.073, allocations: 0 / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.073, allocations: 0.9375 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.073, allocations: 0 / 1.327 GB, free: 21.15 MB / 1.061 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.00101/1.074, allocations: 0.7352 MB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.074, allocations: 14.05 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/1.074, allocations: 1.719 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/1.074, allocations: 37.66 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/1.074, allocations: 54.17 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/1.075, allocations: 414.8 kB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/1.075, allocations: 11.44 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/1.075, allocations: 9.562 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/1.075, allocations: 95.47 kB / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.075, allocations: 0 / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.075, allocations: 5.031 kB / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.075, allocations: 1.812 kB / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/1.075, allocations: 53.12 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/1.076, allocations: 0.4938 MB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/1.076, allocations: 102.3 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/1.076, allocations: 34.5 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/1.076, allocations: 1.688 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/1.077, allocations: 95.8 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/1.077, allocations: 0.5938 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004429/1.077, allocations: 184.5 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/1.077, allocations: 52.19 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/1.078, allocations: 0.5014 MB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/1.078, allocations: 31.8 kB / 1.33 GB, free: 19.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.078, allocations: 230.4 kB / 1.33 GB, free: 18.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/1.078, allocations: 28.52 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/1.078, allocations: 52 kB / 1.33 GB, free: 18.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/1.078, allocations: 360.4 kB / 1.33 GB, free: 18.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/1.078, allocations: 49.14 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/1.078, allocations: 78.56 kB / 1.331 GB, free: 18.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/1.078, allocations: 109.4 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.078, allocations: 0 / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003382/1.079, allocations: 211.9 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.079, allocations: 4.406 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.079, allocations: 1.312 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.079, allocations: 1 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/1.079, allocations: 39.8 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.079, allocations: 2.094 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.079, allocations: 18.36 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/1.079, allocations: 14 kB / 1.331 GB, free: 18.29 MB / 1.061 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.0001706/1.079, allocations: 201.5 kB / 1.331 GB, free: 18.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/1.079, allocations: 51.95 kB / 1.331 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/1.079, allocations: 51.59 kB / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.079, allocations: 1.094 kB / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.079, allocations: 0 / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.079, allocations: 1 kB / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/1.08, allocations: 314.9 kB / 1.332 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.08, allocations: 0 / 1.332 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/1.08, allocations: 13.5 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.08, allocations: 4 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.08, allocations: 3.406 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.08, allocations: 0 / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.08, allocations: 1.859 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/1.08, allocations: 219.1 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/1.08, allocations: 120 kB / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/1.08, allocations: 2.797 kB / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/1.08, allocations: 5.812 kB / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/1.08, allocations: 18.42 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/1.08, allocations: 4.078 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003917/1.081, allocations: 359.9 kB / 1.332 GB, free: 17.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.081, allocations: 1.156 kB / 1.332 GB, free: 17.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00028/1.081, allocations: 54.17 kB / 1.332 GB, free: 17.38 MB / 1.061 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.001931/1.083, allocations: 1.074 MB / 1.333 GB, free: 16.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003074/1.083, allocations: 105.7 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.083, allocations: 1.031 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.083, allocations: 44.02 kB / 1.334 GB, free: 16.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/1.084, allocations: 65.84 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/1.088, allocations: 3.18 MB / 1.337 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/1.089, allocations: 0.8254 MB / 1.338 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001474/1.089, allocations: 38.69 kB / 1.338 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/1.089, allocations: 128.5 kB / 1.338 GB, free: 13.86 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.089, allocations: 0 / 1.338 GB, free: 13.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/1.119, allocations: 7.866 MB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.09/10.21, allocations: 12.83 kB / 1.345 GB, free: 12.5 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.917733943031635] Failed to read output from testmodel.py, exit status != 0: 10.399137370986864 10.420156472 9.342803684 Calling exit ...