Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009278/0.0009279, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006001/0.006002, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 9.906 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3947, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003064/0.3978, allocations: 1.958 MB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.4001, allocations: 1.389 MB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.4002, allocations: 7.938 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.4008, allocations: 191.7 kB / 1.078 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.4011, allocations: 115.5 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.4015, allocations: 135.8 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.4018, allocations: 255.1 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.402, allocations: 56.94 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.4022, allocations: 95.48 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4023, allocations: 111.4 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.4024, allocations: 4 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.4025, allocations: 47.97 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4026, allocations: 87.66 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.4028, allocations: 160.5 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.4032, allocations: 374.5 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4032, allocations: 0 / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4032, allocations: 0 / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4033, allocations: 0 / 1.079 GB, free: 2.52 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.0009685/0.4042, allocations: 0.6494 MB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4043, allocations: 12.03 kB / 1.08 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.4044, allocations: 44.38 kB / 1.08 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.4049, allocations: 404.1 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4049, allocations: 8.375 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.4049, allocations: 15.94 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.4052, allocations: 93.58 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.4052, allocations: 0 / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4052, allocations: 4 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4052, allocations: 4 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.4054, allocations: 51.91 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/0.4062, allocations: 0.4888 MB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.4065, allocations: 102.7 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.4066, allocations: 40.83 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.4067, allocations: 4 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.4069, allocations: 99.2 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.4069, allocations: 0 / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003752/0.4072, allocations: 184.9 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4073, allocations: 51.41 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.4079, allocations: 0.4951 MB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.4079, allocations: 33.7 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4081, allocations: 220 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.4081, allocations: 35.55 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4082, allocations: 33.64 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4083, allocations: 362.8 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4085, allocations: 43.98 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4086, allocations: 76.23 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.4088, allocations: 105.5 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4088, allocations: 3.938 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003235/0.4091, allocations: 209 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4092, allocations: 4.938 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4092, allocations: 4 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4092, allocations: 0 / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4094, allocations: 39.92 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4094, allocations: 0 / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.4095, allocations: 24.02 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.4096, allocations: 7.984 kB / 1.083 GB, free: 14.37 MB / 0.8419 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.0001715/0.4097, allocations: 188.6 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.4098, allocations: 47.38 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.4099, allocations: 47.91 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4099, allocations: 0 / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4099, allocations: 0 / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4099, allocations: 0 / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4102, allocations: 333.3 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4102, allocations: 4 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.4103, allocations: 8 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4103, allocations: 0 / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4103, allocations: 7.984 kB / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4103, allocations: 0 / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4103, allocations: 0 / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.4107, allocations: 220.8 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.4108, allocations: 112.6 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4109, allocations: 12.06 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.411, allocations: 7.984 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.411, allocations: 11.98 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.411, allocations: 4 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003468/0.4114, allocations: 354.8 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4114, allocations: 0 / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002603/0.4117, allocations: 43.98 kB / 1.084 GB, free: 12.91 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.0009906/0.4127, allocations: 431.6 kB / 1.085 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.413, allocations: 103.9 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.413, allocations: 0 / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.4131, allocations: 39.98 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.4135, allocations: 62.22 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.4147, allocations: 0.8138 MB / 1.086 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.4152, allocations: 0.834 MB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.4153, allocations: 37.92 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.4154, allocations: 27.42 kB / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of SimCode: time 2.194e-06/0.4154, allocations: 4 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.007723/0.4231, allocations: 2.873 MB / 1.089 GB, free: 7.816 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)