Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009923/0.0009922, allocations: 179.7 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 0.5785 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 85.67 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004158, allocations: 19.34 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2072, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.3708, allocations: 137.1 MB / 1.035 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.3711, allocations: 95.94 kB / 1.035 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0278/0.3989, allocations: 11.16 MB / 1.046 GB, free: 11.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.399, allocations: 0 / 1.046 GB, free: 11.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.429e-05/0.399, allocations: 8 kB / 1.046 GB, free: 11.48 MB / 0.698 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.001032/0.4, allocations: 0.6649 MB / 1.047 GB, free: 10.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4001, allocations: 8.031 kB / 1.047 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4002, allocations: 44.38 kB / 1.047 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.4008, allocations: 384.1 kB / 1.047 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.4009, allocations: 8.375 kB / 1.047 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4009, allocations: 12.36 kB / 1.047 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4011, allocations: 90.22 kB / 1.047 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4012, allocations: 3.938 kB / 1.047 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.4012, allocations: 7.969 kB / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4012, allocations: 0 / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.4014, allocations: 61.52 kB / 1.047 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008662/0.4022, allocations: 0.5082 MB / 1.048 GB, free: 9.551 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4025, allocations: 90.58 kB / 1.048 GB, free: 9.453 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.4026, allocations: 32.98 kB / 1.048 GB, free: 9.418 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4026, allocations: 7.938 kB / 1.048 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.4028, allocations: 83.31 kB / 1.048 GB, free: 9.316 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.4028, allocations: 3.938 kB / 1.048 GB, free: 9.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003604/0.4032, allocations: 181 kB / 1.048 GB, free: 9.129 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.4032, allocations: 51.41 kB / 1.048 GB, free: 9.066 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.4037, allocations: 0.53 MB / 1.049 GB, free: 8.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4038, allocations: 29.7 kB / 1.049 GB, free: 8.492 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.4039, allocations: 228 kB / 1.049 GB, free: 8.266 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.4039, allocations: 23.7 kB / 1.049 GB, free: 8.242 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.404, allocations: 4 kB / 1.049 GB, free: 8.238 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4041, allocations: 358.8 kB / 1.049 GB, free: 7.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4042, allocations: 67.97 kB / 1.049 GB, free: 7.812 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4044, allocations: 97.84 kB / 1.05 GB, free: 7.711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4046, allocations: 107.9 kB / 1.05 GB, free: 7.602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4046, allocations: 0 / 1.05 GB, free: 7.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003845/0.405, allocations: 243.4 kB / 1.05 GB, free: 7.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.405, allocations: 4.062 kB / 1.05 GB, free: 7.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.405, allocations: 7.938 kB / 1.05 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.405, allocations: 4 kB / 1.05 GB, free: 7.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4052, allocations: 27.98 kB / 1.05 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.4052, allocations: 7.984 kB / 1.05 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4053, allocations: 15.92 kB / 1.05 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.4054, allocations: 12 kB / 1.05 GB, free: 7.281 MB / 0.698 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.4056, allocations: 188.6 kB / 1.05 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.4056, allocations: 43.44 kB / 1.05 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.4059, allocations: 161.4 kB / 1.05 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4059, allocations: 0 / 1.05 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.406, allocations: 0 / 1.05 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.406, allocations: 4 kB / 1.05 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.4063, allocations: 317.9 kB / 1.051 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4063, allocations: 0 / 1.051 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.4064, allocations: 11.98 kB / 1.051 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4064, allocations: 4 kB / 1.051 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4064, allocations: 11.94 kB / 1.051 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4064, allocations: 7.938 kB / 1.051 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4064, allocations: 3.938 kB / 1.051 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.4068, allocations: 216.4 kB / 1.051 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.4069, allocations: 116.6 kB / 1.051 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.4069, allocations: 7.938 kB / 1.051 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.407, allocations: 12.05 kB / 1.051 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.4071, allocations: 15.98 kB / 1.051 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4071, allocations: 3.984 kB / 1.051 GB, free: 6.074 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003485/0.4075, allocations: 358.8 kB / 1.051 GB, free: 5.727 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4075, allocations: 0 / 1.051 GB, free: 5.727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003129/0.4078, allocations: 63.92 kB / 1.051 GB, free: 5.664 MB / 0.698 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.4088, allocations: 451.4 kB / 1.052 GB, free: 5.371 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.4091, allocations: 119.8 kB / 1.052 GB, free: 5.254 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4092, allocations: 0 / 1.052 GB, free: 5.254 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.4093, allocations: 39.92 kB / 1.052 GB, free: 5.215 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4097, allocations: 55 kB / 1.052 GB, free: 5.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4109, allocations: 0.7737 MB / 1.053 GB, free: 4.359 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4113, allocations: 0.8259 MB / 1.054 GB, free: 3.508 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.4114, allocations: 25.53 kB / 1.054 GB, free: 3.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.4115, allocations: 23.42 kB / 1.054 GB, free: 3.457 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.4115, allocations: 0 / 1.054 GB, free: 3.457 MB / 0.698 GB Notification: Performance of Templates: time 0.007641/0.4192, allocations: 3.143 MB / 1.057 GB, free: 344 kB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)