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.001332/0.001332, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0106/0.0106, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.802/1.802, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005235/0.0005234, allocations: 15.22 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2721, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00309/0.2753, allocations: 1.956 MB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.2777, allocations: 1.313 MB / 0.7911 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.278, allocations: 3.938 kB / 0.7911 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.2787, allocations: 187.9 kB / 0.7913 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.2792, allocations: 119.5 kB / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.2797, allocations: 131.7 kB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.2801, allocations: 251.1 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.2803, allocations: 52.72 kB / 0.7918 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2805, allocations: 95.44 kB / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.2807, allocations: 99.48 kB / 0.792 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.2807, allocations: 4 kB / 0.792 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.2809, allocations: 51.95 kB / 0.792 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2811, allocations: 95.55 kB / 0.7921 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2813, allocations: 160.6 kB / 0.7923 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.2817, allocations: 370.4 kB / 0.7926 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2817, allocations: 0 / 0.7926 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2818, allocations: 4 kB / 0.7926 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.2818, allocations: 0 / 0.7926 GB, free: 6.688 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.001197/0.283, allocations: 0.6493 MB / 0.7933 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.283, allocations: 8.031 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.2831, allocations: 44.38 kB / 0.7933 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.2837, allocations: 408.1 kB / 0.7937 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.2837, allocations: 8.375 kB / 0.7937 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.2838, allocations: 15.88 kB / 0.7937 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.284, allocations: 100.3 kB / 0.7938 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2841, allocations: 0 / 0.7938 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2841, allocations: 4 kB / 0.7938 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2841, allocations: 4 kB / 0.7938 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2842, allocations: 55.97 kB / 0.7939 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.2851, allocations: 0.4964 MB / 0.7944 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.2855, allocations: 106.7 kB / 0.7945 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.2856, allocations: 32.84 kB / 0.7945 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.2857, allocations: 0 / 0.7945 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.2859, allocations: 99.3 kB / 0.7946 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.2859, allocations: 0 / 0.7946 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004339/0.2863, allocations: 177 kB / 0.7948 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.2864, allocations: 51.41 kB / 0.7948 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.287, allocations: 0.495 MB / 0.7953 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.2871, allocations: 29.7 kB / 0.7953 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2873, allocations: 220 kB / 0.7955 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.2873, allocations: 35.67 kB / 0.7956 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.2874, allocations: 33.7 kB / 0.7956 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2876, allocations: 358.8 kB / 0.7959 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2877, allocations: 43.98 kB / 0.796 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2878, allocations: 84.92 kB / 0.7961 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.288, allocations: 97.66 kB / 0.7962 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.288, allocations: 8.016 kB / 0.7962 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003264/0.2883, allocations: 207.7 kB / 0.7964 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2884, allocations: 7.984 kB / 0.7964 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2884, allocations: 4 kB / 0.7964 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2884, allocations: 7.922 kB / 0.7964 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2886, allocations: 32.36 kB / 0.7964 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2886, allocations: 0 / 0.7964 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2887, allocations: 23.92 kB / 0.7964 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2887, allocations: 12.03 kB / 0.7964 GB, free: 2.535 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 ($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.0002015/0.289, allocations: 186.3 kB / 0.7966 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.289, allocations: 51.28 kB / 0.7967 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.2891, allocations: 51.91 kB / 0.7967 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2891, allocations: 4 kB / 0.7967 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2891, allocations: 0 / 0.7967 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2891, allocations: 0 / 0.7967 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.2894, allocations: 317.4 kB / 0.797 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2894, allocations: 0 / 0.797 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.2895, allocations: 8 kB / 0.797 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2895, allocations: 4 kB / 0.797 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2895, allocations: 3.984 kB / 0.797 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2895, allocations: 0 / 0.797 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2895, allocations: 3.938 kB / 0.797 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.2899, allocations: 216.4 kB / 0.7973 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.29, allocations: 116.6 kB / 0.7974 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.29, allocations: 8 kB / 0.7974 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.2901, allocations: 16.05 kB / 0.7974 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.2902, allocations: 7.984 kB / 0.7974 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2902, allocations: 8 kB / 0.7974 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003474/0.2906, allocations: 350.8 kB / 0.7977 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2906, allocations: 0 / 0.7977 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002684/0.2908, allocations: 48 kB / 0.7978 GB, free: 1.07 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 (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.0009628/0.2918, allocations: 427.5 kB / 0.7982 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.2921, allocations: 111.9 kB / 0.7983 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2921, allocations: 0 / 0.7983 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.2922, allocations: 39.92 kB / 0.7983 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2926, allocations: 65.48 kB / 0.7984 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2937, allocations: 0.8138 MB / 0.7992 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.2941, allocations: 0.8225 MB / 0.8 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.2942, allocations: 45.92 kB / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.2943, allocations: 31.36 kB / 0.8001 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2943, allocations: 0 / 0.8001 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.006794/0.3011, allocations: 2.881 MB / 0.8029 GB, free: 11.98 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: