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.355/1.355, allocations: 252 MB / 268 MB, free: 10.86 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.0009816/0.0009816, allocations: 188.6 kB / 327.6 MB, free: 2.094 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.851/1.851, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008379/0.0008377, allocations: 94.72 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 12.41 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002326/0.2619, allocations: 1.938 MB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2635, allocations: 1.176 MB / 0.9045 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2636, allocations: 3.938 kB / 0.9045 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.2641, allocations: 171.3 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2644, allocations: 119.5 kB / 0.9048 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.2647, allocations: 110.7 kB / 0.9049 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.265, allocations: 231.1 kB / 0.9051 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2651, allocations: 56.36 kB / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2652, allocations: 87.52 kB / 0.9052 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2654, allocations: 99.42 kB / 0.9053 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.2654, allocations: 4 kB / 0.9053 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.2655, allocations: 31.98 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.2656, allocations: 95.59 kB / 0.9055 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2657, allocations: 152.6 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.266, allocations: 279.6 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.266, allocations: 4 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.266, allocations: 0 / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.266, allocations: 0 / 0.9059 GB, free: 58.93 MB / 0.6042 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.0007612/0.2668, allocations: 0.6435 MB / 0.9065 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2668, allocations: 8.031 kB / 0.9065 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.2669, allocations: 44.38 kB / 0.9066 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.2672, allocations: 407.8 kB / 0.9069 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2673, allocations: 4.375 kB / 0.907 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.2673, allocations: 16.12 kB / 0.907 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2675, allocations: 91.05 kB / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2675, allocations: 0 / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2675, allocations: 0 / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2675, allocations: 7.938 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2677, allocations: 55.97 kB / 0.9071 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.2683, allocations: 0.4926 MB / 0.9076 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.2687, allocations: 106.7 kB / 0.9077 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.2687, allocations: 32.78 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2688, allocations: 4 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.269, allocations: 83.38 kB / 0.9078 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.269, allocations: 0 / 0.9078 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003147/0.2693, allocations: 177 kB / 0.908 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.2694, allocations: 51.41 kB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.2697, allocations: 0.491 MB / 0.9085 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2698, allocations: 29.7 kB / 0.9085 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2699, allocations: 220 kB / 0.9087 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2699, allocations: 31.78 kB / 0.9088 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.2699, allocations: 0 / 0.9088 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.27, allocations: 354.8 kB / 0.9091 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.2701, allocations: 55.97 kB / 0.9092 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.2702, allocations: 81.11 kB / 0.9092 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.2704, allocations: 101.6 kB / 0.9093 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2704, allocations: 0 / 0.9093 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002734/0.2707, allocations: 211.2 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2707, allocations: 14.66 kB / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2707, allocations: 0 / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2707, allocations: 4 kB / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2709, allocations: 23.98 kB / 0.9096 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2709, allocations: 7.984 kB / 0.9096 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.271, allocations: 27.77 kB / 0.9096 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.2711, allocations: 12 kB / 0.9096 GB, free: 54.86 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.2712, allocations: 193.2 kB / 0.9098 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.2713, allocations: 51.38 kB / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.2713, allocations: 43.83 kB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2713, allocations: 4 kB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2713, allocations: 3.938 kB / 0.9099 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2713, allocations: 0 / 0.9099 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2716, allocations: 305.5 kB / 0.9102 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2716, allocations: 3.938 kB / 0.9102 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.2716, allocations: 15.92 kB / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2717, allocations: 0 / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2717, allocations: 4 kB / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2717, allocations: 4 kB / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2717, allocations: 0 / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.272, allocations: 208.5 kB / 0.9104 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.2721, allocations: 120.5 kB / 0.9105 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2721, allocations: 4 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.2722, allocations: 11.98 kB / 0.9106 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.2723, allocations: 12.05 kB / 0.9106 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2723, allocations: 4 kB / 0.9106 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003131/0.2726, allocations: 350.8 kB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2726, allocations: 0 / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002405/0.2729, allocations: 47.94 kB / 0.911 GB, free: 53.41 MB / 0.6042 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.001061/0.274, allocations: 414 kB / 0.9114 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.2742, allocations: 115.8 kB / 0.9115 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2742, allocations: 4.062 kB / 0.9115 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.2743, allocations: 39.92 kB / 0.9115 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.2747, allocations: 54.22 kB / 0.9116 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2758, allocations: 0.839 MB / 0.9124 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2761, allocations: 0.8223 MB / 0.9132 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.2762, allocations: 23.44 kB / 0.9132 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2762, allocations: 0 / 0.9132 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.006519/0.2827, allocations: 4.436 MB / 0.9175 GB, free: 46.78 MB / 0.6042 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)