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.0009287/0.0009288, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009474/0.0009475, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.631/1.631, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004985/0.0004985, allocations: 12.12 kB / 0.6737 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2335, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002726/0.2363, allocations: 2.068 MB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.237, allocations: 0.5084 MB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.2371, allocations: 4 kB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.2374, allocations: 115.4 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2375, allocations: 83.39 kB / 0.79 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.057e-05/0.2376, allocations: 27.98 kB / 0.79 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.2379, allocations: 230.8 kB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2381, allocations: 77.61 kB / 0.7903 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2382, allocations: 79.66 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2383, allocations: 83.58 kB / 0.7905 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2384, allocations: 8 kB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.2384, allocations: 8 kB / 0.7905 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.2385, allocations: 63.77 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.2385, allocations: 89.45 kB / 0.7906 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2387, allocations: 255.3 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2388, allocations: 0 / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2388, allocations: 0 / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2388, allocations: 0 / 0.7909 GB, free: 8.207 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.0006763/0.2395, allocations: 0.5911 MB / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2395, allocations: 19.97 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.2396, allocations: 43.44 kB / 0.7915 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.2399, allocations: 289.2 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2399, allocations: 15.98 kB / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.24, allocations: 12 kB / 0.7918 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.2402, allocations: 141.1 kB / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2402, allocations: 0 / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2403, allocations: 4 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2403, allocations: 8 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.2405, allocations: 95.89 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.2412, allocations: 0.59 MB / 0.7926 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2414, allocations: 86.59 kB / 0.7927 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.2416, allocations: 44.91 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.2416, allocations: 0 / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2417, allocations: 46.48 kB / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.2417, allocations: 0 / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003582/0.242, allocations: 145.1 kB / 0.7929 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.2421, allocations: 55.34 kB / 0.793 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.2425, allocations: 389.9 kB / 0.7934 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.2425, allocations: 25.7 kB / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.2427, allocations: 220 kB / 0.7936 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.2428, allocations: 35.53 kB / 0.7936 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.2428, allocations: 4 kB / 0.7936 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.243, allocations: 346.8 kB / 0.794 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.2431, allocations: 23.98 kB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2432, allocations: 55.41 kB / 0.794 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.2433, allocations: 32.38 kB / 0.7941 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2433, allocations: 4 kB / 0.7941 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.2435, allocations: 153 kB / 0.7942 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2435, allocations: 4 kB / 0.7942 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2436, allocations: 4 kB / 0.7942 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2436, allocations: 0 / 0.7942 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2438, allocations: 27.92 kB / 0.7943 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2438, allocations: 0 / 0.7943 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.2439, allocations: 23.94 kB / 0.7943 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2439, allocations: 4 kB / 0.7943 GB, free: 4.477 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.0001333/0.244, allocations: 162.4 kB / 0.7944 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.2441, allocations: 31.62 kB / 0.7945 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.2442, allocations: 39.22 kB / 0.7945 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2442, allocations: 0 / 0.7945 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2442, allocations: 3.984 kB / 0.7945 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2442, allocations: 0 / 0.7945 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.2445, allocations: 313.4 kB / 0.7948 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2445, allocations: 4 kB / 0.7948 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.2446, allocations: 19.94 kB / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2446, allocations: 0 / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2446, allocations: 0 / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2446, allocations: 7.984 kB / 0.7948 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2446, allocations: 0 / 0.7948 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.245, allocations: 247 kB / 0.7951 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.2451, allocations: 124.7 kB / 0.7952 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.2451, allocations: 0 / 0.7952 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.2452, allocations: 0 / 0.7952 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.2452, allocations: 11.98 kB / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2452, allocations: 4 kB / 0.7952 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000241/0.2455, allocations: 275.3 kB / 0.7955 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2455, allocations: 0 / 0.7955 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002971/0.2458, allocations: 47.78 kB / 0.7955 GB, free: 3.117 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.0001172/0.2459, allocations: 103.2 kB / 0.7956 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2461, allocations: 75.84 kB / 0.7957 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2461, allocations: 0 / 0.7957 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.2462, allocations: 31.98 kB / 0.7957 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2466, allocations: 25.52 kB / 0.7957 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2478, allocations: 0.8097 MB / 0.7965 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.2481, allocations: 0.7984 MB / 0.7973 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.997e-05/0.2482, allocations: 12.66 kB / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2483, allocations: 11.44 kB / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2483, allocations: 0 / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.003886/0.2521, allocations: 1.155 MB / 0.7985 GB, free: 52 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: