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.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7451 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.06 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3767, allocations: 159.9 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004271/0.381, allocations: 2.252 MB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3833, allocations: 1.447 MB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.3835, allocations: 7.938 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006559/0.3842, allocations: 179.6 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.3845, allocations: 139.3 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.385, allocations: 163 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.3853, allocations: 259.1 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3855, allocations: 60.92 kB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3857, allocations: 111.4 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3858, allocations: 107.5 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.3859, allocations: 16 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.386, allocations: 63.89 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3861, allocations: 91.67 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3863, allocations: 150.8 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.3867, allocations: 386.5 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3867, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3867, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3868, allocations: 4 kB / 1.073 GB, free: 5.098 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.001096/0.3879, allocations: 0.7075 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3879, allocations: 8.031 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.388, allocations: 48.28 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.3885, allocations: 408.1 kB / 1.075 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3886, allocations: 8.375 kB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3886, allocations: 7.938 kB / 1.075 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3888, allocations: 95.55 kB / 1.075 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3888, allocations: 7.938 kB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3889, allocations: 8 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3889, allocations: 0 / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.389, allocations: 51.97 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.3898, allocations: 496.4 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.3902, allocations: 106.7 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.3903, allocations: 36.84 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3903, allocations: 0 / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.3905, allocations: 91.36 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3905, allocations: 0 / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003894/0.3909, allocations: 177 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.391, allocations: 55.41 kB / 1.076 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3915, allocations: 0.5027 MB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3915, allocations: 33.7 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.3917, allocations: 216 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3917, allocations: 31.62 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.3918, allocations: 53.7 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.392, allocations: 362.7 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3921, allocations: 51.97 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3922, allocations: 71.48 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3924, allocations: 99.59 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3924, allocations: 4.031 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003302/0.3928, allocations: 215.2 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3928, allocations: 8 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3928, allocations: 0 / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3928, allocations: 0 / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.393, allocations: 43.91 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.393, allocations: 3.984 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3931, allocations: 16.38 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3932, allocations: 11.97 kB / 1.077 GB, free: 0.8828 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.0001814/0.3933, allocations: 190.3 kB / 1.078 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.3934, allocations: 43.44 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.3935, allocations: 55.84 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3935, allocations: 0 / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3935, allocations: 0 / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3935, allocations: 4 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3938, allocations: 321.3 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3938, allocations: 0 / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.3939, allocations: 11.94 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3939, allocations: 4 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3939, allocations: 4 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3939, allocations: 0 / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3939, allocations: 0 / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.3943, allocations: 220.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.3944, allocations: 112.6 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3945, allocations: 4 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.3946, allocations: 12.05 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.3946, allocations: 7.984 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3947, allocations: 11.94 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003425/0.395, allocations: 354.8 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.395, allocations: 0 / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002687/0.3953, allocations: 43.98 kB / 1.079 GB, free: 15.41 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.001026/0.3963, allocations: 419.8 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.3966, allocations: 123.8 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3966, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.3967, allocations: 39.98 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3971, allocations: 68.12 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3982, allocations: 0.6917 MB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3986, allocations: 0.8297 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.3987, allocations: 41.91 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.3988, allocations: 27.42 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3988, allocations: 0 / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.007359/0.4062, allocations: 3.065 MB / 1.084 GB, free: 10.26 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)