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.001296/0.001297, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 195.1 kB / 16.64 MB, free: 6.59 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.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.815/1.815, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00143/0.00143, allocations: 71.31 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.281, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003983/0.285, allocations: 2.245 MB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2872, allocations: 1.364 MB / 0.7877 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2874, allocations: 7.938 kB / 0.7877 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.2881, allocations: 191.5 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.2885, allocations: 139.3 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.2888, allocations: 134.8 kB / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.2892, allocations: 271 kB / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.2894, allocations: 56.7 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2895, allocations: 103.6 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2897, allocations: 111.4 kB / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.2898, allocations: 12 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2899, allocations: 59.97 kB / 0.7887 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.29, allocations: 95.56 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.2902, allocations: 150.9 kB / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.2907, allocations: 390.5 kB / 0.7893 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2907, allocations: 0 / 0.7893 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2907, allocations: 4 kB / 0.7893 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2907, allocations: 0 / 0.7893 GB, free: 7.43 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.001139/0.2919, allocations: 0.7074 MB / 0.79 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2919, allocations: 12.03 kB / 0.79 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.292, allocations: 48.28 kB / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.2926, allocations: 396.1 kB / 0.7904 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2926, allocations: 16.31 kB / 0.7904 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.2926, allocations: 15.94 kB / 0.7905 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2929, allocations: 96.53 kB / 0.7906 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2929, allocations: 4 kB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.2929, allocations: 3.984 kB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2929, allocations: 4 kB / 0.7906 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2931, allocations: 47.97 kB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.2939, allocations: 0.4965 MB / 0.7911 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2943, allocations: 98.72 kB / 0.7912 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.2944, allocations: 36.84 kB / 0.7912 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2944, allocations: 3.938 kB / 0.7912 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.2946, allocations: 91.38 kB / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2946, allocations: 3.938 kB / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004308/0.2951, allocations: 177 kB / 0.7915 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.2951, allocations: 55.41 kB / 0.7915 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.2956, allocations: 0.4949 MB / 0.792 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2957, allocations: 25.7 kB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.2959, allocations: 232 kB / 0.7923 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.2959, allocations: 35.72 kB / 0.7923 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.296, allocations: 49.61 kB / 0.7924 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2961, allocations: 362.8 kB / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2962, allocations: 47.98 kB / 0.7927 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.2964, allocations: 80.92 kB / 0.7928 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2966, allocations: 104.2 kB / 0.7929 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2966, allocations: 0 / 0.7929 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003292/0.2969, allocations: 209 kB / 0.7931 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2969, allocations: 4 kB / 0.7931 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2969, allocations: 0 / 0.7931 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.297, allocations: 4 kB / 0.7931 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2971, allocations: 31.98 kB / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2972, allocations: 3.984 kB / 0.7932 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.2973, allocations: 19.92 kB / 0.7932 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2973, allocations: 16.03 kB / 0.7932 GB, free: 3.207 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.0001855/0.2975, allocations: 197.4 kB / 0.7934 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.2976, allocations: 43.44 kB / 0.7934 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/0.2976, allocations: 39.92 kB / 0.7935 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2977, allocations: 4 kB / 0.7935 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2977, allocations: 0 / 0.7935 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2977, allocations: 3.984 kB / 0.7935 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.298, allocations: 317.4 kB / 0.7938 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.298, allocations: 4 kB / 0.7938 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.298, allocations: 11.98 kB / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2981, allocations: 0 / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.2981, allocations: 7.938 kB / 0.7938 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2981, allocations: 4 kB / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2981, allocations: 384 / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.2985, allocations: 220.3 kB / 0.794 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.2986, allocations: 112.6 kB / 0.7941 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.2986, allocations: 8.062 kB / 0.7941 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.2987, allocations: 7.984 kB / 0.7941 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.2988, allocations: 15.98 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2988, allocations: 4 kB / 0.7942 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003473/0.2991, allocations: 350.8 kB / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.224e-06/0.2992, allocations: 0 / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002622/0.2994, allocations: 51.94 kB / 0.7945 GB, free: 1.742 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.001005/0.3004, allocations: 425.6 kB / 0.7949 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.3007, allocations: 107.9 kB / 0.795 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3007, allocations: 4 kB / 0.795 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.3008, allocations: 39.92 kB / 0.7951 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.3013, allocations: 75.36 kB / 0.7952 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.3025, allocations: 0.6992 MB / 0.7958 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3029, allocations: 0.826 MB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.303, allocations: 37.92 kB / 0.7967 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.3031, allocations: 23.44 kB / 0.7967 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.3031, allocations: 0 / 0.7967 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.007386/0.3105, allocations: 3.049 MB / 0.7997 GB, free: 12.59 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)