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.001101/0.001101, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001368/0.001368, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.573/1.573, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.974/1.974, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001442/0.001442, allocations: 67.92 kB / 0.671 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2747, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004178/0.2789, allocations: 2.306 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2809, allocations: 1.34 MB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2811, allocations: 4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.2817, allocations: 179.9 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.282, allocations: 119.5 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.2824, allocations: 123.8 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.2828, allocations: 275 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2829, allocations: 56.7 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.2831, allocations: 103.5 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2832, allocations: 123.4 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.2833, allocations: 16 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2834, allocations: 51.97 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2835, allocations: 103.6 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2837, allocations: 142.9 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.2841, allocations: 394.4 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2841, allocations: 0 / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2841, allocations: 0 / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.2841, allocations: 0 / 0.788 GB, free: 8.562 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.001165/0.2853, allocations: 0.6997 MB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2853, allocations: 15.97 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.2854, allocations: 48.28 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.286, allocations: 408.1 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.286, allocations: 4.375 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.286, allocations: 15.94 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.2863, allocations: 93.58 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2863, allocations: 0 / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2863, allocations: 8 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2863, allocations: 4 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2865, allocations: 47.97 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.2873, allocations: 0.4926 MB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.2877, allocations: 106.7 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.2877, allocations: 32.84 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2878, allocations: 0 / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.288, allocations: 99.3 kB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.288, allocations: 0 / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004156/0.2884, allocations: 181 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2885, allocations: 55.34 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.289, allocations: 0.4949 MB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2891, allocations: 29.7 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.2892, allocations: 224 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.2893, allocations: 31.77 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.2894, allocations: 57.61 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2895, allocations: 358.8 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2896, allocations: 43.98 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2898, allocations: 74.55 kB / 0.7915 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.29, allocations: 101.6 kB / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.29, allocations: 32 / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003309/0.2903, allocations: 219.7 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2903, allocations: 4 kB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2903, allocations: 0 / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2904, allocations: 4 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2905, allocations: 39.86 kB / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2905, allocations: 0 / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2907, allocations: 19.92 kB / 0.7919 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2907, allocations: 8 kB / 0.7919 GB, free: 4.344 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.0001846/0.2909, allocations: 197.5 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.2909, allocations: 43.44 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.649e-05/0.291, allocations: 43.92 kB / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.291, allocations: 0 / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2911, allocations: 3.938 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2911, allocations: 3.984 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.2914, allocations: 321.4 kB / 0.7925 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2914, allocations: 384 / 0.7925 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.2914, allocations: 11.98 kB / 0.7925 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2915, allocations: 4 kB / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2915, allocations: 0 / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2915, allocations: 3.938 kB / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2915, allocations: 0 / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.2919, allocations: 224.4 kB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.292, allocations: 112.6 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.292, allocations: 4 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.2921, allocations: 16.05 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.2922, allocations: 11.98 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2922, allocations: 4 kB / 0.7929 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003808/0.2926, allocations: 354.8 kB / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.2926, allocations: 0 / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002917/0.2929, allocations: 48 kB / 0.7933 GB, free: 2.875 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.0009706/0.2939, allocations: 431.3 kB / 0.7937 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.2942, allocations: 119.8 kB / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2942, allocations: 0 / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.2943, allocations: 39.92 kB / 0.7938 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.2947, allocations: 73.34 kB / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2958, allocations: 0.7852 MB / 0.7947 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.2963, allocations: 0.8298 MB / 0.7955 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.2964, allocations: 41.92 kB / 0.7955 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.2965, allocations: 23.44 kB / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2965, allocations: 0 / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of Templates: time 0.007223/0.3037, allocations: 2.984 MB / 0.7985 GB, free: 13.68 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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)