Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 194.8 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.5489 GB, free: 12.88 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 69.92 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3381, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004921/0.3431, allocations: 2.253 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.3461, allocations: 1.364 MB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003747/0.3466, allocations: 7.938 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.3476, allocations: 187.8 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000654/0.3483, allocations: 139.3 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.3488, allocations: 143 kB / 0.7874 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.3494, allocations: 267 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.3496, allocations: 52.73 kB / 0.7877 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.3498, allocations: 103.5 kB / 0.7878 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.35, allocations: 111.4 kB / 0.7879 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.35, allocations: 16 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.3502, allocations: 51.97 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.3503, allocations: 99.59 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3505, allocations: 146.9 kB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.3511, allocations: 390.5 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3511, allocations: 4 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3511, allocations: 4 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3512, allocations: 0 / 0.7885 GB, free: 8.176 MB / 0.6075 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.001143/0.3523, allocations: 0.6996 MB / 0.7892 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3524, allocations: 8.031 kB / 0.7892 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.308e-05/0.3525, allocations: 52.28 kB / 0.7893 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.353, allocations: 412.1 kB / 0.7897 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.353, allocations: 4.375 kB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.3531, allocations: 15.92 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3533, allocations: 100.7 kB / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3534, allocations: 0 / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3534, allocations: 4 kB / 0.7898 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3534, allocations: 0 / 0.7898 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3535, allocations: 59.91 kB / 0.7899 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000983/0.3545, allocations: 492.5 kB / 0.7903 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.3549, allocations: 110.7 kB / 0.7904 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.355, allocations: 32.84 kB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.3551, allocations: 4 kB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.3553, allocations: 87.31 kB / 0.7905 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3553, allocations: 0 / 0.7905 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005619/0.3559, allocations: 188.9 kB / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3559, allocations: 55.41 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.3565, allocations: 0.491 MB / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3565, allocations: 37.69 kB / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3567, allocations: 220 kB / 0.7915 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.3568, allocations: 27.78 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.3569, allocations: 49.61 kB / 0.7916 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3571, allocations: 362.8 kB / 0.7919 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3573, allocations: 55.97 kB / 0.792 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3574, allocations: 76.98 kB / 0.792 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3577, allocations: 108.2 kB / 0.7922 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3577, allocations: 0 / 0.7922 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003897/0.3581, allocations: 201 kB / 0.7923 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3581, allocations: 4 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3581, allocations: 3.938 kB / 0.7924 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3581, allocations: 4.062 kB / 0.7924 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.3583, allocations: 43.92 kB / 0.7924 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3584, allocations: 3.984 kB / 0.7924 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.3585, allocations: 11.94 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3585, allocations: 8 kB / 0.7924 GB, free: 3.965 MB / 0.6075 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.000266/0.3588, allocations: 197.4 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.3589, allocations: 43.44 kB / 0.7927 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.359, allocations: 43.92 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.359, allocations: 7.984 kB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.359, allocations: 0 / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.359, allocations: 4 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.3596, allocations: 321.3 kB / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3596, allocations: 0 / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.3597, allocations: 11.98 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3597, allocations: 0 / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3597, allocations: 4 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3597, allocations: 4 kB / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3597, allocations: 0 / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.3602, allocations: 224.7 kB / 0.7932 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3603, allocations: 116.6 kB / 0.7934 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.3604, allocations: 0 / 0.7934 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.3604, allocations: 11.98 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.3605, allocations: 7.984 kB / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3605, allocations: 4 kB / 0.7934 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004362/0.361, allocations: 358.8 kB / 0.7937 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.723e-06/0.361, allocations: 4.062 kB / 0.7937 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002722/0.3613, allocations: 47.92 kB / 0.7938 GB, free: 2.492 MB / 0.6075 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.001149/0.3624, allocations: 420.9 kB / 0.7942 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3627, allocations: 107.8 kB / 0.7943 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3628, allocations: 0 / 0.7943 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3629, allocations: 43.92 kB / 0.7943 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.3633, allocations: 90.59 kB / 0.7944 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3646, allocations: 0.6992 MB / 0.7951 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.3651, allocations: 0.8221 MB / 0.7959 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.3652, allocations: 33.94 kB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3654, allocations: 23.44 kB / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3654, allocations: 0 / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of Templates: time 0.007772/0.3732, allocations: 3.054 MB / 0.7989 GB, free: 13.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)