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.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00152/0.00152, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.41 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3644, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004075/0.3685, allocations: 2.312 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3709, allocations: 1.417 MB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.371, allocations: 7.938 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.3717, allocations: 171.7 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.372, allocations: 119.5 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.3724, allocations: 147 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.3727, allocations: 255 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3728, allocations: 64.92 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.373, allocations: 99.45 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3732, allocations: 115.4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.3732, allocations: 4 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3733, allocations: 43.97 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3735, allocations: 91.66 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3736, allocations: 138.8 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.374, allocations: 382.5 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.374, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.627e-06/0.374, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3741, allocations: 3.938 kB / 1.073 GB, free: 5.539 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.00113/0.3752, allocations: 0.6997 MB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3752, allocations: 8.031 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.3753, allocations: 52.28 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.3759, allocations: 408.1 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3759, allocations: 4.375 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3759, allocations: 11.94 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3761, allocations: 97.58 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3762, allocations: 4 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3762, allocations: 4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3762, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3763, allocations: 58.02 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.3772, allocations: 492.5 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.3776, allocations: 114.6 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.3777, allocations: 28.84 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.3778, allocations: 7.984 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.378, allocations: 91.31 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.378, allocations: 4 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004045/0.3784, allocations: 181.2 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3785, allocations: 51.41 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.379, allocations: 0.499 MB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.379, allocations: 33.64 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3792, allocations: 224 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3793, allocations: 27.64 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.3794, allocations: 49.7 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.3796, allocations: 362.8 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3797, allocations: 43.98 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3799, allocations: 74.55 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3801, allocations: 100.8 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3801, allocations: 7.969 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003877/0.3805, allocations: 212.9 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3806, allocations: 4 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3806, allocations: 0 / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3806, allocations: 4 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3808, allocations: 35.92 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3808, allocations: 0 / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3809, allocations: 19.98 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.381, allocations: 8 kB / 1.077 GB, free: 1.332 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.0001975/0.3812, allocations: 196.5 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.3812, allocations: 43.44 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.3813, allocations: 43.92 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3813, allocations: 4 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3813, allocations: 0 / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3813, allocations: 3.984 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3817, allocations: 329.3 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3817, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.3817, allocations: 11.98 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3817, allocations: 4 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3818, allocations: 0 / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3818, allocations: 3.938 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3818, allocations: 0 / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.3822, allocations: 220.4 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.3823, allocations: 112.6 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3823, allocations: 96 / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.3824, allocations: 19.98 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3825, allocations: 11.98 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.3825, allocations: 0 / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003896/0.3829, allocations: 354.8 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3829, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002726/0.3832, allocations: 47.98 kB / 1.078 GB, free: 15.86 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.001057/0.3842, allocations: 418.2 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3845, allocations: 117 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3846, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3847, allocations: 39.98 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3851, allocations: 62.86 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3863, allocations: 0.7831 MB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.3867, allocations: 0.8262 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.3869, allocations: 37.92 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.387, allocations: 27.44 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 1.884e-06/0.387, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.008021/0.395, allocations: 2.901 MB / 1.083 GB, free: 10.79 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)