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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001373/0.001373, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.583/1.583, allocations: 205.1 MB / 222 MB, free: 4.965 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.607/1.607, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.00154/0.00154, allocations: 67.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5882, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004319/0.5925, allocations: 2.304 MB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.5944, allocations: 1.195 MB / 0.7272 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.5946, allocations: 3.938 kB / 0.7272 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.5952, allocations: 171.3 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.5955, allocations: 119.5 kB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.5958, allocations: 106.7 kB / 0.7276 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.5961, allocations: 239.1 kB / 0.7278 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.5963, allocations: 54.33 kB / 0.7279 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.5965, allocations: 87.52 kB / 0.728 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.5966, allocations: 111.5 kB / 0.7281 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.5967, allocations: 4 kB / 0.7281 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.5968, allocations: 39.94 kB / 0.7281 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.5969, allocations: 87.66 kB / 0.7282 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.597, allocations: 142.8 kB / 0.7283 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.5974, allocations: 362.5 kB / 0.7287 GB, free: 8.137 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5974, allocations: 0 / 0.7287 GB, free: 8.137 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5975, allocations: 0 / 0.7287 GB, free: 8.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.5975, allocations: 0 / 0.7287 GB, free: 8.137 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.001033/0.5985, allocations: 0.692 MB / 0.7294 GB, free: 7.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5986, allocations: 12.03 kB / 0.7294 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.5987, allocations: 52.27 kB / 0.7294 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.5991, allocations: 391.9 kB / 0.7298 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5991, allocations: 4.375 kB / 0.7298 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.5992, allocations: 16.12 kB / 0.7298 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.5994, allocations: 93.58 kB / 0.7299 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5994, allocations: 4 kB / 0.7299 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.5995, allocations: 4 kB / 0.7299 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.5995, allocations: 4 kB / 0.7299 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.5996, allocations: 47.97 kB / 0.73 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.6004, allocations: 0.4925 MB / 0.7304 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.6008, allocations: 102.7 kB / 0.7305 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.6009, allocations: 32.84 kB / 0.7306 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.6009, allocations: 0 / 0.7306 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.6012, allocations: 91.31 kB / 0.7307 GB, free: 5.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.6012, allocations: 4 kB / 0.7307 GB, free: 5.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003987/0.6016, allocations: 173 kB / 0.7308 GB, free: 5.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.6017, allocations: 51.41 kB / 0.7309 GB, free: 5.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.6022, allocations: 498.8 kB / 0.7313 GB, free: 5.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.6022, allocations: 33.7 kB / 0.7314 GB, free: 5.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.6024, allocations: 220 kB / 0.7316 GB, free: 4.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.6024, allocations: 35.69 kB / 0.7316 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.6025, allocations: 45.7 kB / 0.7317 GB, free: 4.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6027, allocations: 359.2 kB / 0.732 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.6028, allocations: 47.98 kB / 0.7321 GB, free: 4.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.6029, allocations: 75.67 kB / 0.7321 GB, free: 4.375 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.6031, allocations: 105.6 kB / 0.7322 GB, free: 4.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6031, allocations: 3.938 kB / 0.7322 GB, free: 4.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003506/0.6035, allocations: 211 kB / 0.7324 GB, free: 4.051 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6035, allocations: 4 kB / 0.7324 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.6035, allocations: 0 / 0.7324 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6035, allocations: 0 / 0.7324 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.6037, allocations: 27.98 kB / 0.7325 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6037, allocations: 0 / 0.7325 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.6038, allocations: 23.83 kB / 0.7325 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.6039, allocations: 15.97 kB / 0.7325 GB, free: 3.98 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.0002001/0.6041, allocations: 189.7 kB / 0.7327 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.6041, allocations: 47.38 kB / 0.7327 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.561e-05/0.6042, allocations: 43.84 kB / 0.7328 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6042, allocations: 7.984 kB / 0.7328 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6042, allocations: 4 kB / 0.7328 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6042, allocations: 0 / 0.7328 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.6045, allocations: 309.5 kB / 0.7331 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6045, allocations: 0 / 0.7331 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.6046, allocations: 12 kB / 0.7331 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6046, allocations: 0 / 0.7331 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.6046, allocations: 7.984 kB / 0.7331 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6046, allocations: 0 / 0.7331 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6046, allocations: 3.984 kB / 0.7331 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.605, allocations: 208.4 kB / 0.7333 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.6051, allocations: 120.5 kB / 0.7334 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.6051, allocations: 3.984 kB / 0.7334 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.6052, allocations: 8.062 kB / 0.7334 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.6053, allocations: 11.98 kB / 0.7334 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6053, allocations: 7.984 kB / 0.7334 GB, free: 2.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003214/0.6056, allocations: 346.8 kB / 0.7338 GB, free: 2.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6056, allocations: 0 / 0.7338 GB, free: 2.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002502/0.6059, allocations: 51.92 kB / 0.7338 GB, free: 2.531 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.0009279/0.6068, allocations: 422.5 kB / 0.7342 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.6071, allocations: 107.9 kB / 0.7343 GB, free: 2.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6071, allocations: 0 / 0.7343 GB, free: 2.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.6072, allocations: 39.92 kB / 0.7344 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.6076, allocations: 66.31 kB / 0.7344 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.6087, allocations: 0.7639 MB / 0.7352 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6091, allocations: 0.8184 MB / 0.736 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.6092, allocations: 33.94 kB / 0.736 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.6093, allocations: 23.44 kB / 0.736 GB, free: 372 kB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.6093, allocations: 0 / 0.736 GB, free: 372 kB / 0.545 GB Notification: Performance of Templates: time 0.006418/0.6157, allocations: 2.637 MB / 0.7386 GB, free: 13.76 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)