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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 188.1 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 101.4 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 56.06 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3083, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004746/0.3131, allocations: 2.311 MB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3157, allocations: 1.352 MB / 0.9858 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.3161, allocations: 0 / 0.9858 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3171, allocations: 187.9 kB / 0.986 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.3178, allocations: 119.5 kB / 0.9861 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.3184, allocations: 115.8 kB / 0.9862 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.3188, allocations: 259.1 kB / 0.9865 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.319, allocations: 56.72 kB / 0.9865 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3191, allocations: 103.4 kB / 0.9866 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3193, allocations: 103.5 kB / 0.9867 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.3194, allocations: 4 kB / 0.9867 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3196, allocations: 55.84 kB / 0.9868 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.3197, allocations: 95.66 kB / 0.9869 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3199, allocations: 142.8 kB / 0.987 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.3203, allocations: 378.5 kB / 0.9873 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3204, allocations: 0 / 0.9873 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3204, allocations: 0 / 0.9873 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3204, allocations: 0 / 0.9873 GB, free: 5.105 MB / 0.7136 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.001303/0.3217, allocations: 0.7074 MB / 0.988 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3217, allocations: 12.03 kB / 0.9881 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/0.3218, allocations: 44.38 kB / 0.9881 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.3225, allocations: 412 kB / 0.9885 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3225, allocations: 8.375 kB / 0.9885 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.3225, allocations: 7.938 kB / 0.9885 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3228, allocations: 97.58 kB / 0.9886 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3228, allocations: 0 / 0.9886 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3228, allocations: 4 kB / 0.9886 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3228, allocations: 4 kB / 0.9886 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.323, allocations: 47.97 kB / 0.9886 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.3239, allocations: 0.4887 MB / 0.9891 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.3243, allocations: 110.7 kB / 0.9892 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.3244, allocations: 44.77 kB / 0.9893 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.3244, allocations: 0 / 0.9893 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.3246, allocations: 83.38 kB / 0.9894 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3246, allocations: 0 / 0.9894 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004385/0.3251, allocations: 177 kB / 0.9895 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.3251, allocations: 55.41 kB / 0.9896 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.3257, allocations: 0.5027 MB / 0.9901 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3257, allocations: 25.7 kB / 0.9901 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3259, allocations: 224.4 kB / 0.9903 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.326, allocations: 27.8 kB / 0.9903 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.3261, allocations: 49.59 kB / 0.9904 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3263, allocations: 366.7 kB / 0.9907 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3264, allocations: 47.92 kB / 0.9908 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3265, allocations: 84.98 kB / 0.9909 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3268, allocations: 91.94 kB / 0.9909 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3268, allocations: 0 / 0.9909 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003676/0.3271, allocations: 212.9 kB / 0.9911 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3272, allocations: 4 kB / 0.9911 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3272, allocations: 3.984 kB / 0.9912 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3272, allocations: 8.062 kB / 0.9912 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3274, allocations: 35.92 kB / 0.9912 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3274, allocations: 0 / 0.9912 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3275, allocations: 23.83 kB / 0.9912 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3276, allocations: 8 kB / 0.9912 GB, free: 0.8945 MB / 0.7136 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.0002064/0.3278, allocations: 189.7 kB / 0.9914 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3279, allocations: 43.44 kB / 0.9914 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.014e-05/0.328, allocations: 51.91 kB / 0.9915 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.328, allocations: 4 kB / 0.9915 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.328, allocations: 0 / 0.9915 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.328, allocations: 0 / 0.9915 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.3283, allocations: 321.4 kB / 0.9918 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3283, allocations: 0 / 0.9918 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.3284, allocations: 11.94 kB / 0.9918 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3284, allocations: 0 / 0.9918 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3284, allocations: 11.97 kB / 0.9918 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3284, allocations: 0 / 0.9918 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3284, allocations: 3.938 kB / 0.9918 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.3305, allocations: 1.671 MB / 0.9935 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.3306, allocations: 120.6 kB / 0.9936 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3307, allocations: 8 kB / 0.9936 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3308, allocations: 7.984 kB / 0.9936 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.3308, allocations: 15.98 kB / 0.9936 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3308, allocations: 4 kB / 0.9936 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003686/0.3312, allocations: 350.8 kB / 0.9939 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3312, allocations: 0 / 0.9939 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004006/0.3316, allocations: 71.92 kB / 0.994 GB, free: 13.76 MB / 0.7292 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.001041/0.3327, allocations: 422.2 kB / 0.9944 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.333, allocations: 115.8 kB / 0.9945 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.333, allocations: 0 / 0.9945 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3331, allocations: 39.92 kB / 0.9946 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.3336, allocations: 62.25 kB / 0.9946 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3349, allocations: 0.9263 MB / 0.9955 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3353, allocations: 0.8301 MB / 0.9963 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.3355, allocations: 33.94 kB / 0.9964 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.3355, allocations: 19.44 kB / 0.9964 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.3356, allocations: 4 kB / 0.9964 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.008103/0.3437, allocations: 3.032 MB / 0.9994 GB, free: 8.352 MB / 0.7292 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)