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.001611/0.001611, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 186.1 kB / 16.62 MB, free: 6.613 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.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.882/1.882, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001516/0.001516, allocations: 71.83 kB / 0.6723 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2892, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004649/0.2939, allocations: 2.439 MB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000945/0.2949, allocations: 0.5401 MB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.295, allocations: 4 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.2954, allocations: 128.3 kB / 0.7872 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2956, allocations: 91.27 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.2957, allocations: 39.95 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.2959, allocations: 246.7 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2962, allocations: 111.1 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2963, allocations: 83.61 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2965, allocations: 99.56 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.2965, allocations: 20 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.2965, allocations: 16 kB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.2966, allocations: 87.67 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2968, allocations: 159 kB / 0.7881 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.2971, allocations: 338.6 kB / 0.7884 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2971, allocations: 0 / 0.7884 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2971, allocations: 4 kB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2971, allocations: 3.938 kB / 0.7884 GB, free: 8.344 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008025/0.2979, allocations: 0.6456 MB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.298, allocations: 8.031 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.298, allocations: 48.38 kB / 0.7891 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2984, allocations: 302.1 kB / 0.7894 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2984, allocations: 16.38 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.2984, allocations: 12.38 kB / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2987, allocations: 141.9 kB / 0.7895 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2987, allocations: 192 / 0.7895 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2987, allocations: 15.94 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2988, allocations: 7.938 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.299, allocations: 87.95 kB / 0.7896 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.2998, allocations: 0.5819 MB / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3001, allocations: 86.56 kB / 0.7903 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3002, allocations: 48.88 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3002, allocations: 4 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3003, allocations: 30.56 kB / 0.7904 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3003, allocations: 0 / 0.7904 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003824/0.3006, allocations: 149.1 kB / 0.7905 GB, free: 6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3007, allocations: 55.41 kB / 0.7906 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.3011, allocations: 390 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3011, allocations: 25.7 kB / 0.791 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3012, allocations: 215.9 kB / 0.7912 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3013, allocations: 27.56 kB / 0.7912 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3013, allocations: 33.64 kB / 0.7912 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3014, allocations: 358.7 kB / 0.7916 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.3015, allocations: 23.98 kB / 0.7916 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.709e-05/0.3016, allocations: 55.42 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3018, allocations: 91.67 kB / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3018, allocations: 0 / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/0.302, allocations: 149.2 kB / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.302, allocations: 4 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3021, allocations: 0 / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3021, allocations: 4 kB / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3022, allocations: 23.98 kB / 0.7919 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3022, allocations: 0 / 0.7919 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.3023, allocations: 19.92 kB / 0.7919 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3023, allocations: 4 kB / 0.7919 GB, free: 4.473 MB / 0.6075 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.0001474/0.3024, allocations: 173.7 kB / 0.7921 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.3025, allocations: 31.53 kB / 0.7921 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.3026, allocations: 39.22 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3026, allocations: 0 / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3026, allocations: 0 / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3026, allocations: 4 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.3029, allocations: 313.4 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3029, allocations: 8 kB / 0.7925 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.303, allocations: 15.98 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.303, allocations: 4 kB / 0.7925 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.303, allocations: 0 / 0.7925 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3031, allocations: 4 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3031, allocations: 0 / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3034, allocations: 259.1 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.3035, allocations: 116.8 kB / 0.7929 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3035, allocations: 3.938 kB / 0.7929 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.3036, allocations: 8 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.3037, allocations: 7.984 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3037, allocations: 0 / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000244/0.3039, allocations: 279.1 kB / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3039, allocations: 0 / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002534/0.3042, allocations: 47.78 kB / 0.7932 GB, free: 3.082 MB / 0.6075 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.00013/0.3043, allocations: 107.2 kB / 0.7933 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3045, allocations: 67.91 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3046, allocations: 0 / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.3046, allocations: 39.92 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.305, allocations: 21.56 kB / 0.7934 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.306, allocations: 0.6608 MB / 0.7941 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3064, allocations: 0.7981 MB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.743e-05/0.3065, allocations: 12.64 kB / 0.7948 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.3065, allocations: 15.44 kB / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.3065, allocations: 0 / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.00474/0.3113, allocations: 1.264 MB / 0.7961 GB, free: 56 kB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)