Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001588/0.001588, allocations: 108 kB / 15.61 MB, free: 152 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.001371/0.001371, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.649/1.649, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.76/1.76, allocations: 251.7 MB / 0.5092 GB, free: 3.156 MB / 414.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.001881/0.001881, allocations: 67.91 kB / 0.6223 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5868, allocations: 104.7 MB / 0.7245 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003706/0.5905, allocations: 2.247 MB / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.5923, allocations: 1.218 MB / 0.7279 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.5925, allocations: 0 / 0.7279 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.593, allocations: 175.2 kB / 0.7281 GB, free: 9.375 MB / 0.545 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.0003493/0.5934, allocations: 139.3 kB / 0.7282 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.5937, allocations: 115.7 kB / 0.7283 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.594, allocations: 247.1 kB / 0.7286 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.5941, allocations: 58.34 kB / 0.7286 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.5943, allocations: 95.58 kB / 0.7287 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.5944, allocations: 107.5 kB / 0.7288 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.5945, allocations: 12 kB / 0.7288 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.5946, allocations: 43.94 kB / 0.7289 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.5947, allocations: 95.66 kB / 0.7289 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.5948, allocations: 146.8 kB / 0.7291 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.5952, allocations: 374.6 kB / 0.7294 GB, free: 7.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5952, allocations: 0 / 0.7294 GB, free: 7.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5952, allocations: 4 kB / 0.7294 GB, free: 7.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5953, allocations: 3.984 kB / 0.7295 GB, free: 7.961 MB / 0.545 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.0009087/0.5962, allocations: 0.688 MB / 0.7301 GB, free: 7.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5962, allocations: 8.031 kB / 0.7301 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.5963, allocations: 52.27 kB / 0.7302 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.5968, allocations: 395.9 kB / 0.7306 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5968, allocations: 12.38 kB / 0.7306 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.5968, allocations: 12.12 kB / 0.7306 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.597, allocations: 93.58 kB / 0.7307 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5971, allocations: 0 / 0.7307 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5971, allocations: 4 kB / 0.7307 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5971, allocations: 4 kB / 0.7307 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.5972, allocations: 47.97 kB / 0.7307 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007514/0.598, allocations: 0.5003 MB / 0.7312 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.5984, allocations: 98.72 kB / 0.7313 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.5984, allocations: 40.84 kB / 0.7313 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5985, allocations: 0 / 0.7313 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.5987, allocations: 87.31 kB / 0.7314 GB, free: 5.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.5987, allocations: 0 / 0.7314 GB, free: 5.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003687/0.5991, allocations: 176.9 kB / 0.7316 GB, free: 5.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5992, allocations: 55.41 kB / 0.7317 GB, free: 5.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.5996, allocations: 498.8 kB / 0.7321 GB, free: 5.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5997, allocations: 29.7 kB / 0.7322 GB, free: 4.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.5998, allocations: 224 kB / 0.7324 GB, free: 4.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.5999, allocations: 31.69 kB / 0.7324 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.5999, allocations: 45.7 kB / 0.7324 GB, free: 4.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6001, allocations: 358.8 kB / 0.7328 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.6002, allocations: 47.98 kB / 0.7328 GB, free: 4.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.6003, allocations: 78.55 kB / 0.7329 GB, free: 4.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.6005, allocations: 104.9 kB / 0.733 GB, free: 4.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6005, allocations: 0 / 0.733 GB, free: 4.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003165/0.6008, allocations: 209 kB / 0.7332 GB, free: 3.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6009, allocations: 4 kB / 0.7332 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6009, allocations: 0 / 0.7332 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6009, allocations: 0 / 0.7332 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.601, allocations: 31.98 kB / 0.7332 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.601, allocations: 8.062 kB / 0.7332 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.6012, allocations: 15.83 kB / 0.7333 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.6012, allocations: 15.94 kB / 0.7333 GB, free: 3.801 MB / 0.545 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.0001684/0.6014, allocations: 185.7 kB / 0.7335 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.6014, allocations: 47.38 kB / 0.7335 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.6015, allocations: 43.83 kB / 0.7335 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6015, allocations: 4 kB / 0.7335 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6015, allocations: 0 / 0.7335 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6015, allocations: 4 kB / 0.7336 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.6018, allocations: 317.4 kB / 0.7339 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6018, allocations: 0 / 0.7339 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.6019, allocations: 8 kB / 0.7339 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6019, allocations: 0 / 0.7339 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.6019, allocations: 8 kB / 0.7339 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6019, allocations: 0 / 0.7339 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6019, allocations: 3.984 kB / 0.7339 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.6023, allocations: 216.7 kB / 0.7341 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6025, allocations: 120.5 kB / 0.7342 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.6025, allocations: 0 / 0.7342 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.6026, allocations: 15.98 kB / 0.7342 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.6027, allocations: 7.984 kB / 0.7342 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.6027, allocations: 4 kB / 0.7342 GB, free: 2.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003931/0.6031, allocations: 350.8 kB / 0.7346 GB, free: 2.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6031, allocations: 0 / 0.7346 GB, free: 2.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002641/0.6034, allocations: 51.94 kB / 0.7346 GB, free: 2.348 MB / 0.545 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.001143/0.6045, allocations: 408.2 kB / 0.735 GB, free: 2.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.6049, allocations: 115.8 kB / 0.7351 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6049, allocations: 0 / 0.7351 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.605, allocations: 43.92 kB / 0.7351 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.6054, allocations: 64.61 kB / 0.7352 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.6067, allocations: 0.6801 MB / 0.7359 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.6071, allocations: 0.8182 MB / 0.7367 GB, free: 340 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.6072, allocations: 29.94 kB / 0.7367 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.6072, allocations: 27.42 kB / 0.7367 GB, free: 276 kB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6073, allocations: 4 kB / 0.7367 GB, free: 272 kB / 0.545 GB Notification: Performance of Templates: time 0.007011/0.6143, allocations: 2.784 MB / 0.7394 GB, free: 13.51 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)