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.0009319/0.000932, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009911/0.0009911, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.662/1.662, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005839/0.0005839, allocations: 15.12 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2496, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002533/0.2522, allocations: 1.906 MB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2542, allocations: 1.262 MB / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2543, allocations: 0 / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.2548, allocations: 171.2 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2551, allocations: 111.5 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.2554, allocations: 103.8 kB / 0.7908 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.2557, allocations: 231.1 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2558, allocations: 48.98 kB / 0.791 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.256, allocations: 99.5 kB / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2562, allocations: 95.48 kB / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2562, allocations: 8 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.2563, allocations: 47.97 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.2564, allocations: 87.66 kB / 0.7913 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.2565, allocations: 81.45 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.2568, allocations: 287.3 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2568, allocations: 4 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2568, allocations: 0 / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2568, allocations: 0 / 0.7917 GB, free: 7.363 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.0008589/0.2576, allocations: 0.657 MB / 0.7923 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2577, allocations: 8.031 kB / 0.7923 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.2578, allocations: 51.38 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.2582, allocations: 383 kB / 0.7928 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2583, allocations: 4 kB / 0.7928 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.2583, allocations: 12 kB / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2585, allocations: 89.64 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2585, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2585, allocations: 4 kB / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2586, allocations: 4 kB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2587, allocations: 59.8 kB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.2594, allocations: 0.4888 MB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.2598, allocations: 106.6 kB / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.2599, allocations: 36.84 kB / 0.7935 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2599, allocations: 0 / 0.7935 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.2601, allocations: 95.31 kB / 0.7936 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2601, allocations: 0 / 0.7936 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003548/0.2604, allocations: 173 kB / 0.7938 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2605, allocations: 63.34 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.261, allocations: 0.495 MB / 0.7943 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.261, allocations: 33.7 kB / 0.7944 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.2612, allocations: 224 kB / 0.7946 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.2613, allocations: 31.62 kB / 0.7946 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.2613, allocations: 4 kB / 0.7946 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2614, allocations: 362.8 kB / 0.795 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2615, allocations: 44.36 kB / 0.795 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.2617, allocations: 73.73 kB / 0.7951 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.2618, allocations: 55.94 kB / 0.7951 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2618, allocations: 4.031 kB / 0.7951 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003155/0.2621, allocations: 207.9 kB / 0.7953 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2622, allocations: 8 kB / 0.7953 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2622, allocations: 0 / 0.7953 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2622, allocations: 0 / 0.7953 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2624, allocations: 35.92 kB / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2624, allocations: 4 kB / 0.7954 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2625, allocations: 19.89 kB / 0.7954 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.2625, allocations: 12.03 kB / 0.7954 GB, free: 3.328 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.2627, allocations: 198.4 kB / 0.7956 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.2628, allocations: 51.38 kB / 0.7957 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.2629, allocations: 43.92 kB / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2629, allocations: 0 / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2629, allocations: 0 / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2629, allocations: 0 / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.2632, allocations: 317.4 kB / 0.796 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2632, allocations: 0 / 0.796 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.2633, allocations: 15.94 kB / 0.796 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2633, allocations: 7.938 kB / 0.796 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2633, allocations: 4 kB / 0.796 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2633, allocations: 0 / 0.796 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2633, allocations: 0 / 0.796 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.2637, allocations: 216.8 kB / 0.7962 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.2638, allocations: 116.6 kB / 0.7963 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.2638, allocations: 4.016 kB / 0.7963 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.2639, allocations: 15.98 kB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.264, allocations: 15.92 kB / 0.7964 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.264, allocations: 4 kB / 0.7964 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003613/0.2644, allocations: 350.8 kB / 0.7967 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2644, allocations: 0 / 0.7967 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002668/0.2646, allocations: 55.91 kB / 0.7968 GB, free: 1.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009439/0.2656, allocations: 421.9 kB / 0.7972 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.2659, allocations: 111.8 kB / 0.7973 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2659, allocations: 4 kB / 0.7973 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.266, allocations: 35.98 kB / 0.7973 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.2664, allocations: 61.11 kB / 0.7974 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2674, allocations: 0.7711 MB / 0.7981 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.2678, allocations: 0.8184 MB / 0.7989 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.2679, allocations: 41.91 kB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.268, allocations: 31.42 kB / 0.799 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.268, allocations: 4 kB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.006548/0.2745, allocations: 2.821 MB / 0.8018 GB, free: 12.87 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: