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.000823/0.000823, allocations: 91.53 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.006555/0.006555, allocations: 172.8 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.533/1.533, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 9.906 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3898, allocations: 162.1 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003978/0.3938, allocations: 1.966 MB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.397, allocations: 1.389 MB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.3972, allocations: 3.938 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008344/0.398, allocations: 183.7 kB / 1.078 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.3985, allocations: 119.5 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.3991, allocations: 139.7 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000458/0.3995, allocations: 255.1 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.3998, allocations: 60.89 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.4, allocations: 91.5 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.4003, allocations: 115.3 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.4003, allocations: 4 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.4005, allocations: 35.98 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4006, allocations: 91.66 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.4008, allocations: 164.5 kB / 1.079 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.4014, allocations: 370.5 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4014, allocations: 0 / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4014, allocations: 0 / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4015, allocations: 0 / 1.079 GB, free: 2.531 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.001391/0.4029, allocations: 0.6533 MB / 1.08 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4029, allocations: 8.031 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.4031, allocations: 52.38 kB / 1.08 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.4038, allocations: 404.1 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.4039, allocations: 8.375 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.4039, allocations: 7.938 kB / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.4042, allocations: 103.5 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4043, allocations: 3.984 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.4043, allocations: 4 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4043, allocations: 0 / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.4045, allocations: 55.91 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.4057, allocations: 492.5 kB / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.4062, allocations: 110.7 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4064, allocations: 36.84 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4064, allocations: 7.984 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.4067, allocations: 87.28 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 6.072e-06/0.4067, allocations: 0 / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005903/0.4073, allocations: 177.2 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.4074, allocations: 63.33 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/0.4082, allocations: 0.4913 MB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.4083, allocations: 37.8 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.4086, allocations: 227.9 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.4086, allocations: 31.55 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.4087, allocations: 33.64 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4089, allocations: 354.8 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4091, allocations: 47.97 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4093, allocations: 80.23 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.4096, allocations: 99.45 kB / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4096, allocations: 0 / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005652/0.4102, allocations: 210.1 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.4102, allocations: 8 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4103, allocations: 0 / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4103, allocations: 0 / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4105, allocations: 43.91 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4105, allocations: 4 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.4108, allocations: 16.03 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.4108, allocations: 15.98 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.0002813/0.4111, allocations: 181.8 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.4112, allocations: 47.38 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.4113, allocations: 51.84 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4113, allocations: 0 / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4113, allocations: 0 / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4114, allocations: 4 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.4118, allocations: 329.2 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4118, allocations: 0 / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.4119, allocations: 8 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4119, allocations: 0 / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.412, allocations: 4 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.412, allocations: 0 / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.412, allocations: 0 / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.4125, allocations: 220.4 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4127, allocations: 116.6 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.4127, allocations: 7.984 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4129, allocations: 4.094 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.413, allocations: 15.92 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.413, allocations: 7.984 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00038/0.4134, allocations: 354.8 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4134, allocations: 0 / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004309/0.4139, allocations: 44 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.001542/0.4154, allocations: 422.3 kB / 1.085 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.4158, allocations: 115.8 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4159, allocations: 0 / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.416, allocations: 39.98 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4165, allocations: 66.94 kB / 1.085 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.4182, 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.0005798/0.4188, allocations: 0.834 MB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.419, allocations: 33.92 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.4191, allocations: 31.42 kB / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of SimCode: time 1.011e-06/0.4191, allocations: 0 / 1.086 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.01038/0.4295, allocations: 2.87 MB / 1.089 GB, free: 7.828 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)