Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.6 kB / 16.36 MB, free: 5.992 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.001105/0.001105, allocations: 193.3 kB / 17.3 MB, free: 5.598 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001613/0.001613, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2421, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004296/0.2464, allocations: 2.43 MB / 0.7872 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.2474, allocations: 0.5439 MB / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.2475, allocations: 4 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.2479, allocations: 132.3 kB / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.3664/0.6143, allocations: 87.3 kB / 0.7879 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.6146, allocations: 45.48 kB / 0.788 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.6149, allocations: 240.1 kB / 0.7882 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.6151, allocations: 106 kB / 0.7883 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.6152, allocations: 92.89 kB / 0.7884 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.6153, allocations: 96.36 kB / 0.7885 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.6153, allocations: 19.09 kB / 0.7885 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.6154, allocations: 20.06 kB / 0.7885 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.6155, allocations: 79.45 kB / 0.7886 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.6156, allocations: 157.2 kB / 0.7887 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.6159, allocations: 342.4 kB / 0.7891 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6159, allocations: 0 / 0.7891 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6159, allocations: 0 / 0.7891 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.6159, allocations: 0 / 0.7891 GB, free: 47.05 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006499/0.6165, allocations: 0.6418 MB / 0.7897 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.6166, allocations: 11.53 kB / 0.7897 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.6167, allocations: 46.84 kB / 0.7897 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.6169, allocations: 302.8 kB / 0.79 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.617, allocations: 12.69 kB / 0.79 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.617, allocations: 20.91 kB / 0.7901 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.6172, allocations: 142.1 kB / 0.7902 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6172, allocations: 192 / 0.7902 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.6173, allocations: 11.34 kB / 0.7902 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6173, allocations: 4.781 kB / 0.7902 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.6175, allocations: 96.83 kB / 0.7903 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.6181, allocations: 0.5849 MB / 0.7909 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.6184, allocations: 95.23 kB / 0.791 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.6185, allocations: 44.69 kB / 0.791 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.6185, allocations: 5.219 kB / 0.791 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.6185, allocations: 32.16 kB / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.6185, allocations: 0 / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002988/0.6188, allocations: 142.4 kB / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.6188, allocations: 54.62 kB / 0.7912 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.6191, allocations: 393.5 kB / 0.7916 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.6192, allocations: 28.27 kB / 0.7916 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.6193, allocations: 217.9 kB / 0.7918 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.6193, allocations: 28.69 kB / 0.7919 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.6193, allocations: 29.77 kB / 0.7919 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.6194, allocations: 353 kB / 0.7922 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.6195, allocations: 26.97 kB / 0.7923 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.6195, allocations: 57.61 kB / 0.7923 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.6197, allocations: 92.58 kB / 0.7924 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6197, allocations: 1.75 kB / 0.7924 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000205/0.6199, allocations: 144.9 kB / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6199, allocations: 8.25 kB / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6199, allocations: 0 / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.62, allocations: 2.625 kB / 0.7926 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.6201, allocations: 26.47 kB / 0.7926 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6201, allocations: 2.781 kB / 0.7926 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.6202, allocations: 11.47 kB / 0.7926 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6202, allocations: 7.438 kB / 0.7926 GB, free: 45.03 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001094/0.6203, allocations: 169.4 kB / 0.7928 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.6203, allocations: 33.22 kB / 0.7928 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.6204, allocations: 43.66 kB / 0.7928 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6204, allocations: 0 / 0.7928 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6204, allocations: 0 / 0.7928 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6204, allocations: 7.109 kB / 0.7928 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.6207, allocations: 304.4 kB / 0.7931 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6207, allocations: 0.5938 kB / 0.7931 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.6208, allocations: 21.16 kB / 0.7931 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6208, allocations: 0 / 0.7931 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6208, allocations: 4.188 kB / 0.7932 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6209, allocations: 3.5 kB / 0.7932 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6209, allocations: 2.438 kB / 0.7932 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.6212, allocations: 256.1 kB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.6212, allocations: 117.5 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.6213, allocations: 0 / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.6214, allocations: 4.062 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.6214, allocations: 12.55 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.6214, allocations: 1.062 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002121/0.6217, allocations: 279.6 kB / 0.7938 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6217, allocations: 0 / 0.7938 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002628/0.6219, allocations: 52.69 kB / 0.7938 GB, free: 44.33 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001104/0.622, allocations: 102.5 kB / 0.7939 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.6223, allocations: 76.3 kB / 0.794 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6223, allocations: 0 / 0.794 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.6223, allocations: 37.53 kB / 0.7941 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.6227, allocations: 24.7 kB / 0.7941 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.6237, allocations: 0.6492 MB / 0.7947 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.6239, allocations: 0.7947 MB / 0.7955 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.813e-05/0.624, allocations: 13.61 kB / 0.7955 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.624, allocations: 14 kB / 0.7955 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.624, allocations: 0 / 0.7955 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.00399/0.628, allocations: 1.261 MB / 0.7967 GB, free: 43.15 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)