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.00163/0.00163, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001796/0.001796, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.54/1.54, 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 1.855/1.855, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001944/0.001944, allocations: 75.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 114.5 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004683/0.2993, allocations: 2.446 MB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3006, allocations: 0.5323 MB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.3009, allocations: 4 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.3016, allocations: 140.6 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.3019, allocations: 83.28 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.3022, allocations: 39.97 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.3027, allocations: 250.7 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.303, allocations: 111.1 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.3033, allocations: 83.66 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3035, allocations: 95.5 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.3036, allocations: 20 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.3037, allocations: 20 kB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.6051/0.9087, allocations: 82.11 kB / 0.7879 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.909, allocations: 155 kB / 0.788 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.9094, allocations: 339.4 kB / 0.7883 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.9094, allocations: 3.938 kB / 0.7883 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9095, allocations: 0.6562 kB / 0.7883 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.9095, allocations: 0 / 0.7883 GB, free: 46.23 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.0008793/0.9104, allocations: 0.6411 MB / 0.789 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.9104, allocations: 11.19 kB / 0.789 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.9105, allocations: 45.72 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.9109, allocations: 301 kB / 0.7893 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.911, allocations: 18.69 kB / 0.7893 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.911, allocations: 12.38 kB / 0.7893 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.9114, allocations: 143 kB / 0.7895 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.9114, allocations: 192 / 0.7895 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.9114, allocations: 13.19 kB / 0.7895 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.9114, allocations: 5.25 kB / 0.7895 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.9117, allocations: 91.22 kB / 0.7896 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.9126, allocations: 0.5838 MB / 0.7902 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.9129, allocations: 92.22 kB / 0.7902 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.913, allocations: 52.05 kB / 0.7903 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.913, allocations: 2.625 kB / 0.7903 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.913, allocations: 32.25 kB / 0.7903 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.913, allocations: 0 / 0.7903 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003637/0.9134, allocations: 145.6 kB / 0.7905 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.9134, allocations: 52.5 kB / 0.7905 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.9138, allocations: 389.7 kB / 0.7909 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.9138, allocations: 27.55 kB / 0.7909 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.914, allocations: 219.3 kB / 0.7911 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.914, allocations: 29.39 kB / 0.7912 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.9141, allocations: 31.48 kB / 0.7912 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9142, allocations: 350.3 kB / 0.7915 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.9143, allocations: 27.81 kB / 0.7915 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.9144, allocations: 57.67 kB / 0.7916 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.9145, allocations: 92.08 kB / 0.7917 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9145, allocations: 0 / 0.7917 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002194/0.9148, allocations: 156 kB / 0.7918 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9148, allocations: 5.344 kB / 0.7918 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9148, allocations: 4.906 kB / 0.7918 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.9148, allocations: 2.656 kB / 0.7918 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.9149, allocations: 25.14 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.915, allocations: 3.875 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.915, allocations: 10.34 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.915, allocations: 2.812 kB / 0.7919 GB, free: 44.21 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.0001404/0.9152, allocations: 169.5 kB / 0.792 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.9152, allocations: 35.28 kB / 0.7921 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.9153, allocations: 40.31 kB / 0.7921 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.9153, allocations: 0 / 0.7921 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9154, allocations: 0 / 0.7921 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.9154, allocations: 2.625 kB / 0.7921 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.9157, allocations: 308.9 kB / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9157, allocations: 4.25 kB / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.9158, allocations: 21.89 kB / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9158, allocations: 1.625 kB / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.9159, allocations: 1.125 kB / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9159, allocations: 3.062 kB / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9159, allocations: 0 / 0.7924 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.9162, allocations: 260.5 kB / 0.7927 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.9163, allocations: 109.2 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.9164, allocations: 4.125 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.9165, allocations: 3.75 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.9165, allocations: 4.25 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.9165, allocations: 3.688 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002727/0.9168, allocations: 282.3 kB / 0.7931 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9168, allocations: 0 / 0.7931 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002773/0.9171, allocations: 49 kB / 0.7931 GB, free: 43.52 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.0001536/0.9173, allocations: 103.6 kB / 0.7932 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.9175, allocations: 73.42 kB / 0.7933 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9175, allocations: 1.031 kB / 0.7933 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.9176, allocations: 37.64 kB / 0.7933 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.9181, allocations: 27.77 kB / 0.7934 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.9191, allocations: 0.651 MB / 0.794 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.9195, allocations: 0.7976 MB / 0.7948 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.77e-05/0.9196, allocations: 16.14 kB / 0.7948 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.9196, allocations: 21.12 kB / 0.7948 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.9196, allocations: 0 / 0.7948 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.004964/0.9246, allocations: 1.254 MB / 0.796 GB, free: 42.35 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)