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.0009847/0.0009846, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009507/0.0009508, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.674/1.674, allocations: 292.5 MB / 0.5497 GB, free: 14.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.00063/0.00063, allocations: 13.97 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2914, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00259/0.294, allocations: 1.979 MB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.2948, allocations: 0.5048 MB / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.2949, allocations: 4 kB / 0.7895 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.2952, allocations: 119.4 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2954, allocations: 95.75 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.589e-05/0.2955, allocations: 31.97 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2957, allocations: 167.6 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.2959, allocations: 77.62 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.296, allocations: 79.72 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2962, allocations: 87.56 kB / 0.7902 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.2962, allocations: 8 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.644e-05/0.2963, allocations: 8 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.2964, allocations: 67.7 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.2964, allocations: 85.45 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2967, allocations: 251.3 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2967, allocations: 0 / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2967, allocations: 0 / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2967, allocations: 0 / 0.7906 GB, free: 8.363 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.0008562/0.2976, allocations: 0.6068 MB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2976, allocations: 8.031 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.2977, allocations: 43.44 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.2981, allocations: 289.2 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2982, allocations: 20 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.2982, allocations: 15.98 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.2985, allocations: 137.1 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2985, allocations: 0 / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.2986, allocations: 8 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2986, allocations: 4 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2988, allocations: 91.89 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.2996, allocations: 0.59 MB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.2999, allocations: 94.59 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3, allocations: 4 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3, allocations: 30.56 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003762/0.3004, allocations: 145.3 kB / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3004, allocations: 51.41 kB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.3008, allocations: 393.9 kB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3008, allocations: 29.7 kB / 0.7931 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.301, allocations: 212 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.301, allocations: 31.55 kB / 0.7933 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.301, allocations: 4 kB / 0.7933 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3012, allocations: 350.8 kB / 0.7936 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.3013, allocations: 23.94 kB / 0.7936 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.3014, allocations: 59.41 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.3014, allocations: 36.31 kB / 0.7937 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3015, allocations: 0 / 0.7937 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002324/0.3017, allocations: 145.1 kB / 0.7939 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3017, allocations: 4 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3017, allocations: 4 kB / 0.7939 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3017, allocations: 4.094 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3019, allocations: 27.98 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3019, allocations: 3.938 kB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.302, allocations: 15.89 kB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.302, allocations: 7.953 kB / 0.7939 GB, free: 4.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.3022, allocations: 161.8 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.3023, allocations: 31.62 kB / 0.7941 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.3023, allocations: 43.22 kB / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3023, allocations: 3.984 kB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3023, allocations: 0 / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3024, allocations: 0 / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3027, allocations: 317.4 kB / 0.7945 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3027, allocations: 0 / 0.7945 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3028, allocations: 24 kB / 0.7945 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3028, allocations: 0 / 0.7945 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3028, allocations: 11.92 kB / 0.7945 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3028, allocations: 3.938 kB / 0.7945 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3028, allocations: 0 / 0.7945 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3032, allocations: 251 kB / 0.7947 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.3033, allocations: 116.8 kB / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.3033, allocations: 0 / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.3034, allocations: 7.938 kB / 0.7949 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3034, allocations: 3.984 kB / 0.7949 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3035, allocations: 8 kB / 0.7949 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002396/0.3037, allocations: 279.2 kB / 0.7951 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3037, allocations: 0 / 0.7951 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002528/0.304, allocations: 43.84 kB / 0.7952 GB, free: 3.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.3041, allocations: 99.25 kB / 0.7953 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3043, allocations: 71.91 kB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3043, allocations: 0 / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/0.3044, allocations: 36.11 kB / 0.7954 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3047, allocations: 33.5 kB / 0.7954 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3057, allocations: 0.7978 MB / 0.7962 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3061, allocations: 0.8023 MB / 0.797 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.642e-05/0.3062, allocations: 12.66 kB / 0.797 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.3062, allocations: 11.44 kB / 0.797 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.3062, allocations: 0 / 0.797 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.004379/0.3106, allocations: 1.162 MB / 0.7981 GB, free: 248 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: