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.001395/0.001395, allocations: 100.1 kB / 16.26 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001536, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.728/1.728, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001421/0.001421, allocations: 63.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2437, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003739/0.2475, allocations: 2.248 MB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2496, allocations: 1.371 MB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2498, allocations: 0 / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000574/0.2504, allocations: 191.8 kB / 0.7878 GB, free: 32 kB / 0.6544 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.3799/0.6303, allocations: 124.4 kB / 0.7879 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.6308, allocations: 143.2 kB / 0.788 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.6312, allocations: 262.7 kB / 0.7883 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.6314, allocations: 51.91 kB / 0.7883 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.6315, allocations: 115.6 kB / 0.7884 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.6316, allocations: 105.2 kB / 0.7885 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.6317, allocations: 10.62 kB / 0.7885 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.6318, allocations: 55.36 kB / 0.7886 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.6319, allocations: 100.8 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.632, allocations: 144.4 kB / 0.7888 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.6324, allocations: 390.8 kB / 0.7892 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6324, allocations: 3.938 kB / 0.7892 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6324, allocations: 0 / 0.7892 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.6324, allocations: 0.8438 kB / 0.7892 GB, free: 45.82 MB / 0.6544 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.000937/0.6334, allocations: 0.7073 MB / 0.7899 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6334, allocations: 7.875 kB / 0.7899 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.6335, allocations: 48 kB / 0.7899 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.634, allocations: 410.9 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.634, allocations: 5.844 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.6341, allocations: 11.91 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.6343, allocations: 96.94 kB / 0.7904 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6343, allocations: 0 / 0.7904 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.6343, allocations: 7.25 kB / 0.7904 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6343, allocations: 0.5625 kB / 0.7904 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.6344, allocations: 52.33 kB / 0.7905 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.6351, allocations: 0.4906 MB / 0.791 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.6354, allocations: 103 kB / 0.7911 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.6355, allocations: 39.02 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.6356, allocations: 0.7812 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.6357, allocations: 92.67 kB / 0.7912 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.6358, allocations: 0 / 0.7912 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003604/0.6361, allocations: 172.8 kB / 0.7914 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6362, allocations: 58.81 kB / 0.7914 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.6366, allocations: 0.4978 MB / 0.7919 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.6366, allocations: 33.55 kB / 0.7919 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.6367, allocations: 235.5 kB / 0.7922 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.6368, allocations: 24.16 kB / 0.7922 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.6369, allocations: 51.52 kB / 0.7922 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.637, allocations: 360.4 kB / 0.7926 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.6371, allocations: 46.56 kB / 0.7926 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.6372, allocations: 79.11 kB / 0.7927 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.6373, allocations: 93.58 kB / 0.7928 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6374, allocations: 0 / 0.7928 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002865/0.6377, allocations: 209.7 kB / 0.793 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6377, allocations: 3.438 kB / 0.793 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6377, allocations: 0.75 kB / 0.793 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6377, allocations: 4.406 kB / 0.793 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.6379, allocations: 43.59 kB / 0.793 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6379, allocations: 0 / 0.793 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.638, allocations: 21.03 kB / 0.7931 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.638, allocations: 4.062 kB / 0.7931 GB, free: 43.77 MB / 0.6544 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.0001583/0.6382, allocations: 186.4 kB / 0.7932 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.6383, allocations: 56.45 kB / 0.7933 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.6383, allocations: 48.69 kB / 0.7933 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6383, allocations: 0.5938 kB / 0.7933 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6384, allocations: 0 / 0.7933 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6384, allocations: 3.875 kB / 0.7933 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.6386, allocations: 316.4 kB / 0.7936 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6386, allocations: 4.922 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.6387, allocations: 13.92 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6387, allocations: 0.7188 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6387, allocations: 3.469 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6387, allocations: 0.6562 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6387, allocations: 0.5469 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.6391, allocations: 215.4 kB / 0.7939 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.6392, allocations: 123.5 kB / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.6392, allocations: 3.5 kB / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.6393, allocations: 9.531 kB / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.6394, allocations: 9.312 kB / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.6394, allocations: 5.938 kB / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003044/0.6397, allocations: 361.7 kB / 0.7944 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6397, allocations: 2.625 kB / 0.7944 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002657/0.64, allocations: 44.28 kB / 0.7944 GB, free: 43.12 MB / 0.6544 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.00101/0.641, allocations: 424.5 kB / 0.7948 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.6413, allocations: 119.5 kB / 0.7949 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6413, allocations: 0 / 0.7949 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.6414, allocations: 43.72 kB / 0.795 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.6418, allocations: 73.88 kB / 0.795 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.6428, allocations: 0.7396 MB / 0.7958 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.643, allocations: 0.8222 MB / 0.7966 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.6431, allocations: 28.58 kB / 0.7966 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6431, allocations: 0 / 0.7966 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.007973/0.6511, allocations: 4.604 MB / 0.8011 GB, free: 41.31 MB / 0.6544 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)