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.001123/0.001123, allocations: 103.7 kB / 16.36 MB, free: 6.352 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.001082/0.001082, allocations: 190.4 kB / 17.3 MB, free: 5.891 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.26 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 1.779/1.779, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001436/0.001436, allocations: 71.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2363, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004081/0.2404, allocations: 2.263 MB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4052/0.6456, allocations: 1.357 MB / 0.7883 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.646, allocations: 3.75 kB / 0.7883 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.647, allocations: 189.7 kB / 0.7885 GB, free: 46.53 MB / 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.0007505/0.6478, allocations: 138 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.6485, allocations: 131 kB / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.649, allocations: 274 kB / 0.789 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.6493, allocations: 48.84 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.6496, allocations: 108.8 kB / 0.7892 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.6498, allocations: 110.5 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.6499, allocations: 13.12 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.6501, allocations: 57.89 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.6503, allocations: 97.62 kB / 0.7894 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.6505, allocations: 149.7 kB / 0.7896 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.6511, allocations: 396.2 kB / 0.79 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6512, allocations: 1.75 kB / 0.79 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6512, allocations: 0 / 0.79 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.6512, allocations: 0 / 0.79 GB, free: 46.3 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.001424/0.6526, allocations: 0.7091 MB / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6527, allocations: 8.656 kB / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.6528, allocations: 45.47 kB / 0.7907 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.6535, allocations: 410.2 kB / 0.7911 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.6536, allocations: 13.69 kB / 0.7911 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.6536, allocations: 12.97 kB / 0.7911 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.6539, allocations: 91.84 kB / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6539, allocations: 0 / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6539, allocations: 5.938 kB / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6539, allocations: 0 / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.6541, allocations: 54.42 kB / 0.7913 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.655, allocations: 499.8 kB / 0.7917 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.6554, allocations: 104.1 kB / 0.7918 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.6555, allocations: 34.11 kB / 0.7919 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.6555, allocations: 4 kB / 0.7919 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.6558, allocations: 88.28 kB / 0.792 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 3.035e-06/0.6558, allocations: 1.375 kB / 0.792 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004706/0.6562, allocations: 183.2 kB / 0.7921 GB, free: 45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6563, allocations: 54.03 kB / 0.7922 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.6569, allocations: 0.4961 MB / 0.7927 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.657, allocations: 32.52 kB / 0.7927 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.6571, allocations: 226.7 kB / 0.7929 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.6572, allocations: 24.92 kB / 0.7929 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.6573, allocations: 55.69 kB / 0.793 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.6574, allocations: 358.9 kB / 0.7933 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.6575, allocations: 49.16 kB / 0.7934 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.6577, allocations: 75.92 kB / 0.7935 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.6579, allocations: 102.2 kB / 0.7936 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6579, allocations: 1.156 kB / 0.7936 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004127/0.6584, allocations: 209.7 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6584, allocations: 3.25 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6584, allocations: 6.984 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6584, allocations: 0.6562 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.6587, allocations: 34.62 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.6587, allocations: 3.5 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.6589, allocations: 17.83 kB / 0.7938 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.6589, allocations: 13.27 kB / 0.7938 GB, free: 44.24 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.0001936/0.6591, allocations: 189.1 kB / 0.794 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.6592, allocations: 49.66 kB / 0.7941 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/0.6593, allocations: 50.56 kB / 0.7941 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6593, allocations: 4.438 kB / 0.7941 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6593, allocations: 0 / 0.7941 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6594, allocations: 6.422 kB / 0.7941 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.6597, allocations: 315.7 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6597, allocations: 5 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.6598, allocations: 7.969 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6598, allocations: 0 / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6598, allocations: 5.812 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6598, allocations: 1.219 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6598, allocations: 0.9375 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.6603, allocations: 224.9 kB / 0.7947 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.6604, allocations: 114.7 kB / 0.7948 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.6604, allocations: 6.312 kB / 0.7948 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.6606, allocations: 4.594 kB / 0.7948 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.6606, allocations: 14.7 kB / 0.7948 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.6607, allocations: 5.188 kB / 0.7948 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004359/0.6611, allocations: 354.4 kB / 0.7951 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6611, allocations: 3.844 kB / 0.7951 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004099/0.6615, allocations: 43.72 kB / 0.7952 GB, free: 43.6 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.001353/0.6629, allocations: 429.5 kB / 0.7956 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.6633, allocations: 111.4 kB / 0.7957 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6633, allocations: 0 / 0.7957 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.6634, allocations: 46.45 kB / 0.7957 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.664, allocations: 70.97 kB / 0.7958 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6654, allocations: 0.7266 MB / 0.7965 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.6657, allocations: 0.8246 MB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.6658, allocations: 27.92 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of SimCode: time 2.435e-06/0.6659, allocations: 0 / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.009673/0.6755, allocations: 4.6 MB / 0.8018 GB, free: 41.8 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)