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.001121/0.001121, allocations: 104.7 kB / 16.35 MB, free: 5.879 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.001113/0.001114, allocations: 193.3 kB / 17.29 MB, free: 5.516 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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.826/1.826, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001386/0.001386, allocations: 71.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2205, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003841/0.2244, allocations: 2.268 MB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3488/0.5732, allocations: 1.351 MB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.5735, allocations: 5.875 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.5742, allocations: 188.5 kB / 0.7885 GB, free: 46.56 MB / 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.0003544/0.5746, allocations: 138.7 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.575, allocations: 132.8 kB / 0.7888 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.5752, allocations: 268.2 kB / 0.789 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.5754, allocations: 61.78 kB / 0.7891 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.5756, allocations: 104.5 kB / 0.7892 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.5757, allocations: 107.6 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.5758, allocations: 15.19 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.5759, allocations: 57.47 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.576, allocations: 99.36 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.5761, allocations: 145.2 kB / 0.7896 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.5764, allocations: 397.3 kB / 0.79 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5765, allocations: 0 / 0.79 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5765, allocations: 0 / 0.79 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5765, allocations: 0 / 0.79 GB, free: 46.33 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.0008555/0.5773, allocations: 0.712 MB / 0.7906 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.5774, allocations: 8.312 kB / 0.7907 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.5775, allocations: 48.88 kB / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.5779, allocations: 407.4 kB / 0.7911 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5779, allocations: 6.25 kB / 0.7911 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.5779, allocations: 16.91 kB / 0.7911 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.5781, allocations: 98.58 kB / 0.7912 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5781, allocations: 0 / 0.7912 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5781, allocations: 0.5312 kB / 0.7912 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5782, allocations: 4.281 kB / 0.7912 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.5783, allocations: 52.77 kB / 0.7913 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.5789, allocations: 497.2 kB / 0.7917 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.5792, allocations: 104.6 kB / 0.7918 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.5793, allocations: 37.12 kB / 0.7919 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.5794, allocations: 2.969 kB / 0.7919 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.5795, allocations: 86.97 kB / 0.792 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5795, allocations: 2.344 kB / 0.792 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003471/0.5799, allocations: 179.3 kB / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.5799, allocations: 56.28 kB / 0.7922 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.5804, allocations: 0.4958 MB / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5804, allocations: 33.3 kB / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5805, allocations: 225.8 kB / 0.7929 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.5805, allocations: 24.92 kB / 0.7929 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.5806, allocations: 51.75 kB / 0.793 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.5807, allocations: 358.8 kB / 0.7933 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.5808, allocations: 47.95 kB / 0.7934 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.5809, allocations: 77.91 kB / 0.7934 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.5811, allocations: 102 kB / 0.7935 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5811, allocations: 0 / 0.7935 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002809/0.5814, allocations: 207 kB / 0.7937 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5814, allocations: 6.844 kB / 0.7937 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5814, allocations: 0 / 0.7937 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5814, allocations: 0 / 0.7937 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5816, allocations: 44.94 kB / 0.7938 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5816, allocations: 0 / 0.7938 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.5817, allocations: 18.69 kB / 0.7938 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.5817, allocations: 10.88 kB / 0.7938 GB, free: 44.28 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.0001505/0.5819, allocations: 184.1 kB / 0.794 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.582, allocations: 51.97 kB / 0.794 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.582, allocations: 48.86 kB / 0.7941 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5821, allocations: 0 / 0.7941 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5821, allocations: 8.156 kB / 0.7941 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5821, allocations: 3.969 kB / 0.7941 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.5824, allocations: 318 kB / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5824, allocations: 0 / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.5824, allocations: 12.19 kB / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5825, allocations: 0 / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.5825, allocations: 4.359 kB / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5825, allocations: 2.406 kB / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5825, allocations: 2.281 kB / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.5828, allocations: 223.7 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.5829, allocations: 114.9 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.583, allocations: 7.5 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.5831, allocations: 6.453 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.5831, allocations: 13.27 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5832, allocations: 3.5 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003497/0.5835, allocations: 355.5 kB / 0.7951 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5835, allocations: 4.062 kB / 0.7951 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002676/0.5838, allocations: 43.22 kB / 0.7952 GB, free: 43.62 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.00107/0.5849, allocations: 424.6 kB / 0.7956 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.5852, allocations: 115.5 kB / 0.7957 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5852, allocations: 0 / 0.7957 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.5853, allocations: 38.69 kB / 0.7957 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.5857, allocations: 72.02 kB / 0.7958 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5868, allocations: 0.6981 MB / 0.7965 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.5871, allocations: 0.8186 MB / 0.7973 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.803e-05/0.5872, allocations: 35.12 kB / 0.7973 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.5872, allocations: 28.25 kB / 0.7973 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.5872, allocations: 0 / 0.7973 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.008569/0.5958, allocations: 3.064 MB / 0.8003 GB, free: 42.29 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)