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.001455/0.001455, 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.001636/0.001636, allocations: 195.9 kB / 16.14 MB, free: 6.727 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 61.72 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3903, 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.003907/0.3943, allocations: 2.301 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.3964, allocations: 1.424 MB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3966, allocations: 3.938 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3972, allocations: 175.7 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.3975, allocations: 119.5 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3979, allocations: 150.8 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3982, allocations: 251.1 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3983, allocations: 60.92 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3985, allocations: 95.45 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3986, allocations: 111.4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.3987, allocations: 8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3988, allocations: 47.95 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3989, allocations: 87.67 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.399, allocations: 142.8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.3994, allocations: 374.6 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3994, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3994, allocations: 4 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3995, allocations: 3.938 kB / 1.073 GB, free: 5.547 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.001054/0.4005, allocations: 0.6997 MB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4006, allocations: 8.031 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.4006, allocations: 52.28 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.4011, allocations: 408 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.4012, allocations: 12.38 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.4012, allocations: 7.938 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.4014, allocations: 91.56 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.4014, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4015, allocations: 15.98 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4015, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4016, allocations: 51.92 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.4024, allocations: 496.5 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.4027, allocations: 110.6 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.4028, allocations: 40.84 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4029, allocations: 4 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.4031, allocations: 79.38 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4031, allocations: 0 / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003958/0.4035, allocations: 181.2 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.4035, allocations: 55.44 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.4041, allocations: 0.5066 MB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4041, allocations: 33.7 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.4043, allocations: 220 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.4043, allocations: 23.66 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.4044, allocations: 53.69 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4046, allocations: 354.8 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4047, allocations: 51.97 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4049, allocations: 77.36 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.4051, allocations: 103.4 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4051, allocations: 0 / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003531/0.4054, allocations: 218.5 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4055, allocations: 4 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4055, allocations: 0 / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4055, allocations: 0 / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4057, allocations: 47.97 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4057, allocations: 0 / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4058, allocations: 19.97 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.4058, allocations: 4 kB / 1.077 GB, free: 1.336 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.0002238/0.4061, allocations: 188.6 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4061, allocations: 43.44 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.4062, allocations: 51.91 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4063, allocations: 3.938 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4063, allocations: 8 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4063, allocations: 0 / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.4066, allocations: 321.3 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4066, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.4067, allocations: 8 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4067, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4067, allocations: 4 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4068, allocations: 3.938 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4068, allocations: 7.984 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.4072, allocations: 220.4 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.4073, allocations: 112.7 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4073, allocations: 11.92 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.4074, allocations: 4 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.4075, allocations: 7.984 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4075, allocations: 7.984 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003964/0.4079, allocations: 358.8 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4079, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002717/0.4082, allocations: 40.06 kB / 1.078 GB, free: 15.87 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.001085/0.4093, allocations: 419.8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.4096, allocations: 111.8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4096, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.4097, allocations: 39.98 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4102, allocations: 77.75 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.00133/0.4115, allocations: 0.7713 MB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.412, allocations: 0.8301 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000146/0.4122, allocations: 37.91 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.4123, allocations: 31.42 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/0.4123, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.007924/0.4202, allocations: 2.895 MB / 1.083 GB, free: 10.79 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)