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.001218/0.001218, allocations: 108 kB / 15.6 MB, free: 132 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.001287/0.001287, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.79/1.79, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001441/0.001441, allocations: 80.72 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2892, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004056/0.2933, allocations: 2.431 MB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.2943, allocations: 0.544 MB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2944, allocations: 4 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.2948, allocations: 132.6 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.295, allocations: 91.27 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.2951, allocations: 39.95 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.2954, allocations: 242.7 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2956, allocations: 111.1 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.2958, allocations: 87.59 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.2959, allocations: 95.58 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.296, allocations: 16 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.2961, allocations: 20 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2962, allocations: 79.69 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2964, allocations: 163 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.2968, allocations: 330.7 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2968, allocations: 3.938 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2968, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.2968, allocations: 0 / 0.7876 GB, free: 9.082 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.001016/0.2978, allocations: 0.6456 MB / 0.7883 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2979, allocations: 12.03 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.298, allocations: 44.38 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.2984, allocations: 302.1 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.2984, allocations: 12.38 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.2985, allocations: 16.38 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2988, allocations: 153.6 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2988, allocations: 192 / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2988, allocations: 7.938 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2988, allocations: 4 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.299, allocations: 87.95 kB / 0.7889 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.2999, allocations: 0.5936 MB / 0.7895 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.3002, allocations: 90.59 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3003, allocations: 52.84 kB / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3003, allocations: 0 / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3004, allocations: 30.56 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.3004, allocations: 0 / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004046/0.3008, allocations: 149.1 kB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3008, allocations: 55.34 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.3012, allocations: 390 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3013, allocations: 29.7 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3014, allocations: 219.9 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3015, allocations: 31.55 kB / 0.7905 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.3015, allocations: 29.72 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3017, allocations: 350.7 kB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.3018, allocations: 27.98 kB / 0.7908 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3019, allocations: 59.36 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3021, allocations: 87.73 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3021, allocations: 0 / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.3023, allocations: 149.2 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3024, allocations: 8.031 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3024, allocations: 4 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3024, allocations: 0 / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3025, allocations: 23.98 kB / 0.7912 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3025, allocations: 4 kB / 0.7912 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.3026, allocations: 7.844 kB / 0.7912 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3026, allocations: 8 kB / 0.7912 GB, free: 5.191 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.0001951/0.3028, allocations: 169.7 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.3029, allocations: 43.53 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.303, allocations: 35.22 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.303, allocations: 4 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.303, allocations: 0 / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.303, allocations: 0 / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.3033, allocations: 309.5 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3033, allocations: 0 / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.3035, allocations: 19.98 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3035, allocations: 0 / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3035, allocations: 0 / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3035, allocations: 0 / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3035, allocations: 4 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3039, allocations: 258.9 kB / 0.792 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.3039, allocations: 108.8 kB / 0.7921 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.304, allocations: 4 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.3041, allocations: 8 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.3041, allocations: 15.86 kB / 0.7921 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3041, allocations: 4.062 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000264/0.3044, allocations: 283.1 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3044, allocations: 192 / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00027/0.3047, allocations: 47.78 kB / 0.7924 GB, free: 3.801 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.0001754/0.3049, allocations: 105.6 kB / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3052, allocations: 75.91 kB / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3052, allocations: 0 / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.3053, allocations: 40.11 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.3057, allocations: 17.56 kB / 0.7927 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3069, allocations: 0.6723 MB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.3074, allocations: 0.7981 MB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.923e-05/0.3075, allocations: 12.64 kB / 0.7941 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.3075, allocations: 15.44 kB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3075, allocations: 0 / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of Templates: time 0.005559/0.3131, allocations: 1.268 MB / 0.7954 GB, free: 0.7617 MB / 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)