Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.207/2.207, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 191.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111.7 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 58.23 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003625/0.314, allocations: 2.307 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3159, allocations: 1.41 MB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.316, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.3166, allocations: 191.6 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.3169, allocations: 111.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3172, allocations: 151.4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.3175, allocations: 263 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3176, allocations: 54.83 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3178, allocations: 95.44 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3179, allocations: 107.5 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3179, allocations: 12 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3181, allocations: 43.98 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.3181, allocations: 99.52 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3183, allocations: 138.9 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.3186, allocations: 382.5 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3186, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3186, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3186, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 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.0009149/0.3195, allocations: 0.7036 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3196, allocations: 11.98 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.3197, allocations: 52.28 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3201, allocations: 408 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3201, allocations: 8.375 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3201, allocations: 11.88 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3203, allocations: 97.58 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3204, allocations: 0 / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3204, allocations: 4 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3204, allocations: 4 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3205, allocations: 51.97 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.3211, allocations: 492.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.3215, allocations: 106.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.3216, allocations: 36.84 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3216, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.3218, allocations: 87.3 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3218, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0003389/0.3221, allocations: 188.9 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3222, allocations: 51.41 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.3226, allocations: 0.4949 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3226, allocations: 29.7 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3227, allocations: 224.1 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3228, allocations: 27.7 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.3228, allocations: 49.61 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.3229, allocations: 362.8 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.323, allocations: 47.98 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3231, allocations: 75.67 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3233, allocations: 108 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3233, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002677/0.3236, allocations: 214.2 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3236, allocations: 5.25 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3236, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3236, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3238, allocations: 36.36 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3238, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3239, allocations: 19.92 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3239, allocations: 4 kB / 1.227 GB, free: 107.7 MB / 0.823 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.0001394/0.3241, allocations: 202.3 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3241, allocations: 51.38 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.3242, allocations: 43.92 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3242, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3242, allocations: 4 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3242, allocations: 3.984 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3244, allocations: 317.3 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3244, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.3245, allocations: 11.98 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3245, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3245, allocations: 12 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3245, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3246, allocations: 3.938 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3259, allocations: 1.671 MB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.326, allocations: 120.6 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.326, allocations: 3.938 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.3261, allocations: 4 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3262, allocations: 15.97 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3262, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002745/0.3265, allocations: 354.8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3265, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003305/0.3268, allocations: 72 kB / 1.23 GB, free: 104.5 MB / 0.823 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.0008985/0.3277, allocations: 433.4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.328, allocations: 99.91 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.328, allocations: 0 / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.3281, allocations: 43.92 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3285, allocations: 69.06 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.3295, allocations: 0.9109 MB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3297, allocations: 0.8301 MB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.3298, allocations: 37.92 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.3299, allocations: 27.42 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.3299, allocations: 0 / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of Templates: time 0.006216/0.3361, allocations: 3.035 MB / 1.235 GB, free: 99.19 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)