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.007785/0.007785, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001322/0.001322, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.585/1.585, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001529/0.001529, allocations: 65.78 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2883, allocations: 104.7 MB / 0.828 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.006357/0.2947, allocations: 2.254 MB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2979, allocations: 1.222 MB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.2983, allocations: 0 / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.2993, allocations: 183.1 kB / 0.8316 GB, free: 12.49 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.0007889/0.3001, allocations: 135.3 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.3007, allocations: 111.7 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008067/0.3015, allocations: 251.1 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3018, allocations: 56.38 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.3022, allocations: 99.5 kB / 0.8322 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.3025, allocations: 107.5 kB / 0.8323 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.3025, allocations: 12 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.3028, allocations: 43.98 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.303, allocations: 91.67 kB / 0.8325 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.3032, allocations: 158.8 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.3041, allocations: 370.2 kB / 0.833 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.3042, allocations: 4 kB / 0.833 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3042, allocations: 4 kB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.661e-05/0.3042, allocations: 0 / 0.833 GB, free: 11.07 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.001936/0.3062, allocations: 0.7112 MB / 0.8337 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/0.3062, allocations: 11.97 kB / 0.8337 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.3064, allocations: 52.59 kB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.3073, allocations: 396.5 kB / 0.8341 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.3074, allocations: 4.375 kB / 0.8341 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.3074, allocations: 16.12 kB / 0.8342 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.3077, allocations: 89.64 kB / 0.8342 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3078, allocations: 0 / 0.8342 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3078, allocations: 8 kB / 0.8342 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3078, allocations: 3.938 kB / 0.8342 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.308, allocations: 51.97 kB / 0.8343 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3091, allocations: 0.4887 MB / 0.8348 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.3096, allocations: 98.67 kB / 0.8349 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3097, allocations: 40.83 kB / 0.8349 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3097, allocations: 0 / 0.8349 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.31, allocations: 95.25 kB / 0.835 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.31, allocations: 0 / 0.835 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005496/0.3106, allocations: 177.2 kB / 0.8352 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.3107, allocations: 55.41 kB / 0.8352 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007676/0.3114, allocations: 499 kB / 0.8357 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.3115, allocations: 29.7 kB / 0.8357 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.3118, allocations: 227.7 kB / 0.8359 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3118, allocations: 39.7 kB / 0.836 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.312, allocations: 49.66 kB / 0.836 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.3122, allocations: 358.8 kB / 0.8364 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3124, allocations: 51.97 kB / 0.8364 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3126, allocations: 70.56 kB / 0.8365 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.3129, allocations: 108.1 kB / 0.8366 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3129, allocations: 0 / 0.8366 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006106/0.3136, allocations: 208.2 kB / 0.8368 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.3136, allocations: 4 kB / 0.8368 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3136, allocations: 0 / 0.8368 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.3137, allocations: 4 kB / 0.8368 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3138, allocations: 27.92 kB / 0.8368 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.3139, allocations: 7.984 kB / 0.8368 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.3141, allocations: 11.95 kB / 0.8368 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.3142, allocations: 16.03 kB / 0.8369 GB, free: 6.879 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.0003206/0.3145, allocations: 185.7 kB / 0.837 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.3146, allocations: 51.66 kB / 0.8371 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.3148, allocations: 39.84 kB / 0.8371 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3148, allocations: 7.984 kB / 0.8371 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3148, allocations: 0 / 0.8371 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3148, allocations: 4 kB / 0.8371 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.3153, allocations: 313.4 kB / 0.8374 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3153, allocations: 0 / 0.8374 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.3154, allocations: 12.38 kB / 0.8374 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.3154, allocations: 3.984 kB / 0.8374 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.3155, allocations: 4 kB / 0.8375 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3155, allocations: 0 / 0.8375 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3155, allocations: 3.938 kB / 0.8375 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.316, allocations: 212.7 kB / 0.8377 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3162, allocations: 120.8 kB / 0.8378 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.3162, allocations: 3.984 kB / 0.8378 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3164, allocations: 12.06 kB / 0.8378 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.3165, allocations: 7.984 kB / 0.8378 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3165, allocations: 7.984 kB / 0.8378 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006082/0.3171, allocations: 350.8 kB / 0.8381 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.434e-06/0.3171, allocations: 0 / 0.8381 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004377/0.3176, allocations: 51.86 kB / 0.8382 GB, free: 5.422 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.00147/0.319, allocations: 410 kB / 0.8386 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.3194, allocations: 107.9 kB / 0.8387 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3195, allocations: 0 / 0.8387 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3196, allocations: 43.92 kB / 0.8387 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.3202, allocations: 81.08 kB / 0.8388 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3221, allocations: 0.6635 MB / 0.8394 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.3228, allocations: 0.8258 MB / 0.8403 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.323, allocations: 37.92 kB / 0.8403 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.3231, allocations: 23.44 kB / 0.8403 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.3231, allocations: 4 kB / 0.8403 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of Templates: time 0.01143/0.3345, allocations: 2.786 MB / 0.843 GB, free: 0.582 MB / 0.6544 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)