Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001289/0.001289, allocations: 115.3 kB / 15.34 MB, free: 0.5039 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.002432/0.002432, allocations: 195.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.47 kB / 0.9115 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003709/0.3716, allocations: 2.304 MB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3737, allocations: 1.413 MB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3738, allocations: 7.938 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.3744, allocations: 179.7 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.3747, allocations: 127.5 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3751, allocations: 151 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.3754, allocations: 263.1 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3756, allocations: 64.92 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3757, allocations: 103.5 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3758, allocations: 119.4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.3759, allocations: 15.98 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.376, allocations: 59.97 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.3761, allocations: 95.67 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3763, allocations: 154.8 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3766, allocations: 378.6 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3766, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3767, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.3767, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 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.001002/0.3777, allocations: 0.7075 MB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3777, allocations: 8.031 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.3778, allocations: 48.28 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.3783, allocations: 408.1 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3783, allocations: 8.375 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.3784, allocations: 19.92 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3786, allocations: 90.86 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3786, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.3786, allocations: 8 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3786, allocations: 3.984 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3787, allocations: 59.84 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/0.3795, allocations: 496.5 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.3799, allocations: 102.7 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.29e-05/0.38, allocations: 40.84 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.38, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.3802, allocations: 95.3 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3802, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004057/0.3806, allocations: 173 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3807, allocations: 59.41 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/0.3813, allocations: 0.5028 MB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3813, allocations: 29.7 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3815, allocations: 220 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3815, allocations: 31.62 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.3816, allocations: 53.62 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3818, allocations: 354.8 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3819, allocations: 55.97 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.382, allocations: 74.55 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3822, allocations: 99.7 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3822, allocations: 0 / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003378/0.3826, allocations: 208.9 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3826, allocations: 9.875 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3826, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3826, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3828, allocations: 39.91 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3828, allocations: 8.062 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3829, allocations: 12 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.383, allocations: 11.98 kB / 1.077 GB, free: 1.121 MB / 0.8262 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.0001956/0.3832, allocations: 192.5 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3832, allocations: 43.81 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.984e-05/0.3833, allocations: 47.91 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3833, allocations: 0 / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3833, allocations: 0 / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3834, allocations: 7.938 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.3837, allocations: 325.3 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3837, allocations: 0 / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.3838, allocations: 8 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3838, allocations: 0 / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3838, allocations: 8 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3838, allocations: 0 / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3838, allocations: 4 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.3842, allocations: 224.4 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.3843, allocations: 108.6 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.3843, allocations: 8 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.3844, allocations: 7.984 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.3845, allocations: 11.98 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3845, allocations: 4 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003575/0.3849, allocations: 354.8 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3849, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00028/0.3852, allocations: 47.98 kB / 1.078 GB, free: 15.66 MB / 0.8419 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.001056/0.3862, allocations: 423.5 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.3865, allocations: 115.9 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3865, allocations: 0 / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3866, allocations: 43.92 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3871, allocations: 71.86 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3883, allocations: 0.7814 MB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.3888, allocations: 0.8337 MB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.3889, allocations: 34.11 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.389, allocations: 31.42 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.389, allocations: 3.938 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.007205/0.3962, allocations: 2.979 MB / 1.083 GB, free: 10.48 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)