Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001104/0.001104, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001035/0.001035, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005507, allocations: 19.75 kB / 0.6736 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002477/0.2558, allocations: 1.894 MB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2576, allocations: 1.235 MB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2578, allocations: 4 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.2583, allocations: 171.3 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.2586, allocations: 123.6 kB / 0.7905 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.2589, allocations: 107.2 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2591, allocations: 175.6 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2593, allocations: 44.98 kB / 0.7908 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2594, allocations: 99.56 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2596, allocations: 95.55 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2596, allocations: 4 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2597, allocations: 39.97 kB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.2598, allocations: 91.66 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.2599, allocations: 77.45 kB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2602, allocations: 299.2 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2602, allocations: 0 / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2602, allocations: 0 / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2602, allocations: 4 kB / 0.7914 GB, free: 7.488 MB / 0.6075 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.0008712/0.2611, allocations: 0.657 MB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2611, allocations: 8.031 kB / 0.7921 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.2612, allocations: 51.39 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.2617, allocations: 375.1 kB / 0.7925 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2617, allocations: 8 kB / 0.7925 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2618, allocations: 8 kB / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.262, allocations: 93.58 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.262, allocations: 3.938 kB / 0.7926 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.262, allocations: 8 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.262, allocations: 0 / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.2622, allocations: 59.86 kB / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.2629, allocations: 0.4888 MB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2633, allocations: 102.7 kB / 0.7933 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2633, allocations: 4 kB / 0.7933 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.2635, allocations: 95.3 kB / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2635, allocations: 0 / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003357/0.2638, allocations: 173.3 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2639, allocations: 55.5 kB / 0.7936 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.2644, allocations: 0.4988 MB / 0.7941 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2644, allocations: 33.7 kB / 0.7941 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2646, allocations: 220 kB / 0.7943 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.2646, allocations: 27.8 kB / 0.7943 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2646, allocations: 8 kB / 0.7943 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2648, allocations: 362.8 kB / 0.7947 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.2649, allocations: 48.34 kB / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.265, allocations: 71.3 kB / 0.7948 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.2651, allocations: 55.95 kB / 0.7948 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2651, allocations: 3.938 kB / 0.7948 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003016/0.2654, allocations: 203.5 kB / 0.795 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2654, allocations: 8 kB / 0.795 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2654, allocations: 0 / 0.795 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2655, allocations: 0 / 0.795 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2656, allocations: 43.91 kB / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2657, allocations: 4 kB / 0.7951 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2658, allocations: 15.91 kB / 0.7951 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2658, allocations: 11.98 kB / 0.7951 GB, free: 3.496 MB / 0.6075 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.0001779/0.266, allocations: 193.8 kB / 0.7953 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.2661, allocations: 51.38 kB / 0.7954 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.2661, allocations: 47.91 kB / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2661, allocations: 0 / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2661, allocations: 0 / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2662, allocations: 0 / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.2664, allocations: 321.4 kB / 0.7957 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2664, allocations: 3.938 kB / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.2665, allocations: 8 kB / 0.7957 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2665, allocations: 3.953 kB / 0.7957 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2665, allocations: 4 kB / 0.7957 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2665, allocations: 0 / 0.7957 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2665, allocations: 4 kB / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.2669, allocations: 212.5 kB / 0.7959 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.267, allocations: 112.7 kB / 0.796 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.267, allocations: 11.88 kB / 0.7961 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.2671, allocations: 16.06 kB / 0.7961 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.2672, allocations: 11.97 kB / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2672, allocations: 4 kB / 0.7961 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003364/0.2675, allocations: 350.8 kB / 0.7964 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2675, allocations: 0 / 0.7964 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002545/0.2678, allocations: 47.91 kB / 0.7965 GB, free: 2.027 MB / 0.6075 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 (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.0009098/0.2687, allocations: 421.6 kB / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.269, allocations: 111.8 kB / 0.797 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.269, allocations: 3.938 kB / 0.797 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.2691, allocations: 35.98 kB / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2694, allocations: 61.55 kB / 0.7971 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2705, allocations: 0.7744 MB / 0.7978 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.2709, allocations: 0.8301 MB / 0.7986 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.271, allocations: 37.92 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.2711, allocations: 27.42 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 1.151e-05/0.2711, allocations: 0 / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.006331/0.2774, allocations: 2.817 MB / 0.8014 GB, free: 13.05 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) Environment - environmentSimulation: