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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001112/0.001112, allocations: 192.5 kB / 16.13 MB, free: 6.664 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.549/1.549, allocations: 205.1 MB / 222 MB, free: 4.746 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.771/1.771, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001393/0.001393, allocations: 68.06 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2681, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003795/0.2719, allocations: 2.31 MB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.274, allocations: 1.337 MB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2742, allocations: 4 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.2748, allocations: 183.9 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.2751, allocations: 127.4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.2755, allocations: 126.7 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.2758, allocations: 259 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.2759, allocations: 52.72 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.2761, allocations: 91.5 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2762, allocations: 111.4 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.2763, allocations: 8 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2764, allocations: 47.97 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.2765, allocations: 91.61 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2766, allocations: 142.8 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.277, allocations: 374.5 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.277, allocations: 0 / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.277, allocations: 4 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.277, allocations: 0 / 0.7878 GB, free: 8.754 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.001053/0.2781, allocations: 0.7036 MB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2781, allocations: 8.031 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.2782, allocations: 48.28 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.2787, allocations: 408.1 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2787, allocations: 8.375 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.2788, allocations: 11.94 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.279, allocations: 95.83 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.279, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.279, allocations: 8 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.279, allocations: 0 / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.2792, allocations: 55.91 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.2799, allocations: 0.4887 MB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.2803, allocations: 106.7 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.2804, allocations: 40.84 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2804, allocations: 0 / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.2806, allocations: 95.36 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2806, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004105/0.2811, allocations: 181.2 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2811, allocations: 59.34 kB / 0.79 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.2816, allocations: 0.4988 MB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2817, allocations: 33.7 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2818, allocations: 216 kB / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.2819, allocations: 35.77 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.282, allocations: 49.61 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2821, allocations: 358.8 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2822, allocations: 47.97 kB / 0.7912 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2824, allocations: 77.36 kB / 0.7913 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.2826, allocations: 105.7 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2826, allocations: 0 / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003483/0.2829, allocations: 207.7 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.283, allocations: 8 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.283, allocations: 0 / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.283, allocations: 3.938 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.2832, allocations: 39.91 kB / 0.7916 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2832, allocations: 8.031 kB / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2833, allocations: 15.94 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.2834, allocations: 7.984 kB / 0.7917 GB, free: 4.531 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.0001729/0.2835, allocations: 189.4 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.2836, allocations: 43.44 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/0.2837, allocations: 51.91 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2837, allocations: 3.938 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2837, allocations: 0 / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2837, allocations: 4 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.284, allocations: 317.4 kB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.284, allocations: 3.984 kB / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.2841, allocations: 8 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2841, allocations: 0 / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2841, allocations: 8 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2841, allocations: 0 / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2841, allocations: 0 / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.2845, allocations: 220.6 kB / 0.7925 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.2846, allocations: 112.5 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.2846, allocations: 8 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.2847, allocations: 7.984 kB / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2848, allocations: 7.984 kB / 0.7926 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2848, allocations: 12 kB / 0.7926 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003586/0.2852, allocations: 354.8 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2852, allocations: 0 / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002627/0.2854, allocations: 47.98 kB / 0.793 GB, free: 3.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.0009466/0.2864, allocations: 434 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.2867, allocations: 111.8 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2867, allocations: 0 / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.2868, allocations: 39.98 kB / 0.7936 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2872, allocations: 69.48 kB / 0.7936 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2884, allocations: 0.7831 MB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.2888, allocations: 0.8235 MB / 0.7952 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.2889, allocations: 37.92 kB / 0.7952 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.289, allocations: 31.42 kB / 0.7953 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of SimCode: time 1.903e-06/0.289, allocations: 0 / 0.7953 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of Templates: time 0.007258/0.2963, allocations: 2.897 MB / 0.7981 GB, free: 13.98 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)