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.001174/0.001174, allocations: 99.03 kB / 16.29 MB, free: 6 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.001195/0.001195, allocations: 184.2 kB / 17.22 MB, free: 5.617 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.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.028/2.028, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001637/0.001637, allocations: 71.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2714, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004875/0.2764, allocations: 2.256 MB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.279, allocations: 1.364 MB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.2793, allocations: 0 / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.28, allocations: 195.7 kB / 0.7878 GB, free: 40 kB / 0.6544 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.4134/0.6934, allocations: 123.8 kB / 0.7879 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.6939, allocations: 139.4 kB / 0.7881 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.6943, allocations: 267 kB / 0.7883 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.6944, allocations: 54.84 kB / 0.7884 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.6946, allocations: 114.3 kB / 0.7885 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.6947, allocations: 104.8 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.6948, allocations: 12 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.695, allocations: 57.61 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.6951, allocations: 101.1 kB / 0.7887 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.6952, allocations: 153.1 kB / 0.7889 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.6956, allocations: 395.3 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6956, allocations: 2.781 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6956, allocations: 0 / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6956, allocations: 0 / 0.7893 GB, free: 46.5 MB / 0.6544 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.0009251/0.6965, allocations: 0.7002 MB / 0.7899 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6966, allocations: 11.84 kB / 0.79 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.6967, allocations: 45.88 kB / 0.79 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.6971, allocations: 407.2 kB / 0.7904 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6971, allocations: 5.156 kB / 0.7904 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.6972, allocations: 14.05 kB / 0.7904 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.6974, allocations: 96.66 kB / 0.7905 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6974, allocations: 2.109 kB / 0.7905 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.6974, allocations: 4.812 kB / 0.7905 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6974, allocations: 1.906 kB / 0.7905 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.6976, allocations: 57.73 kB / 0.7906 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.6983, allocations: 496.3 kB / 0.791 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.6987, allocations: 113 kB / 0.7911 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.6988, allocations: 35.52 kB / 0.7912 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.6988, allocations: 0 / 0.7912 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.699, allocations: 92.17 kB / 0.7913 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.699, allocations: 0 / 0.7913 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003621/0.6994, allocations: 175.5 kB / 0.7914 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.6994, allocations: 60.97 kB / 0.7915 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.6999, allocations: 0.4977 MB / 0.792 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.6999, allocations: 29.73 kB / 0.792 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.7001, allocations: 225.5 kB / 0.7922 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.7001, allocations: 32.19 kB / 0.7922 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.7002, allocations: 50.02 kB / 0.7923 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.7003, allocations: 359.5 kB / 0.7926 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.7004, allocations: 47.61 kB / 0.7927 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.7005, allocations: 76.12 kB / 0.7928 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.7007, allocations: 98.27 kB / 0.7928 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7007, allocations: 0.625 kB / 0.7928 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003037/0.701, allocations: 208.9 kB / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.701, allocations: 3.438 kB / 0.7931 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.701, allocations: 0 / 0.7931 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7011, allocations: 3.312 kB / 0.7931 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.7012, allocations: 39.69 kB / 0.7931 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.7012, allocations: 4.25 kB / 0.7931 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.7014, allocations: 15.98 kB / 0.7931 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.7014, allocations: 15.75 kB / 0.7931 GB, free: 44.45 MB / 0.6544 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.0001547/0.7016, allocations: 186.2 kB / 0.7933 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.7016, allocations: 55.2 kB / 0.7934 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.7017, allocations: 45.52 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7017, allocations: 3.5 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7017, allocations: 2.938 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7018, allocations: 0.5625 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.7021, allocations: 317.2 kB / 0.7937 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7021, allocations: 7.875 kB / 0.7937 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.7022, allocations: 6.781 kB / 0.7937 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7022, allocations: 3.375 kB / 0.7937 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7022, allocations: 0.5938 kB / 0.7937 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.7022, allocations: 3.984 kB / 0.7937 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7022, allocations: 0 / 0.7937 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.7026, allocations: 217.1 kB / 0.7939 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.7027, allocations: 119.7 kB / 0.7941 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.7027, allocations: 11.28 kB / 0.7941 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.7028, allocations: 5.891 kB / 0.7941 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.7029, allocations: 12.98 kB / 0.7941 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.7029, allocations: 5.312 kB / 0.7941 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002988/0.7032, allocations: 356.2 kB / 0.7944 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7032, allocations: 0 / 0.7944 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002601/0.7035, allocations: 49.28 kB / 0.7945 GB, free: 43.8 MB / 0.6544 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.001014/0.7045, allocations: 411 kB / 0.7949 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.7048, allocations: 121.7 kB / 0.795 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.7048, allocations: 3.938 kB / 0.795 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.7049, allocations: 45.41 kB / 0.795 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.7053, allocations: 71.48 kB / 0.7951 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009655/0.7063, allocations: 0.6902 MB / 0.7958 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.7065, allocations: 0.8204 MB / 0.7966 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.7066, allocations: 37.19 kB / 0.7966 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.7067, allocations: 28.59 kB / 0.7966 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.7067, allocations: 0 / 0.7966 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.008707/0.7154, allocations: 3.06 MB / 0.7996 GB, free: 42.48 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)