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.0008913/0.0008911, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00813/0.00813, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.829/1.829, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005458/0.0005458, allocations: 15.25 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3005, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002661/0.3032, allocations: 2.138 MB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.304, allocations: 0.5208 MB / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.3041, allocations: 0 / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.3045, allocations: 128.7 kB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.3046, allocations: 87.39 kB / 0.7907 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.3047, allocations: 35.97 kB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.305, allocations: 242.7 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3052, allocations: 87.03 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3053, allocations: 71.67 kB / 0.7911 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3054, allocations: 83.52 kB / 0.7912 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3055, allocations: 8 kB / 0.7912 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.3055, allocations: 8 kB / 0.7912 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3056, allocations: 71.69 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3058, allocations: 168.6 kB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.306, allocations: 318.6 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.306, allocations: 0 / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3061, allocations: 4 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.3061, allocations: 0 / 0.7917 GB, free: 7.613 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.0007407/0.3068, allocations: 0.5913 MB / 0.7923 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3069, allocations: 8.031 kB / 0.7923 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.3069, allocations: 44.38 kB / 0.7924 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.3073, allocations: 314.1 kB / 0.7927 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3073, allocations: 8.375 kB / 0.7927 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.3073, allocations: 16.38 kB / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3076, allocations: 145.6 kB / 0.7928 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3076, allocations: 192 / 0.7928 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.3077, allocations: 11.94 kB / 0.7928 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3077, allocations: 4 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.3079, allocations: 91.95 kB / 0.7929 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.3087, allocations: 0.5937 MB / 0.7935 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.309, allocations: 82.55 kB / 0.7936 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3091, allocations: 52.88 kB / 0.7936 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3091, allocations: 4 kB / 0.7936 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3091, allocations: 34.56 kB / 0.7937 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3091, allocations: 3.938 kB / 0.7937 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003582/0.3095, allocations: 149.1 kB / 0.7938 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3096, allocations: 55.41 kB / 0.7939 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.3099, allocations: 386 kB / 0.7942 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.31, allocations: 25.7 kB / 0.7943 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3101, allocations: 216 kB / 0.7945 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3102, allocations: 35.45 kB / 0.7945 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.3102, allocations: 17.72 kB / 0.7945 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3104, allocations: 346.7 kB / 0.7948 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.3104, allocations: 35.98 kB / 0.7949 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.3105, allocations: 51.8 kB / 0.7949 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3107, allocations: 99.3 kB / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3107, allocations: 0 / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002869/0.311, allocations: 141.2 kB / 0.7952 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3111, allocations: 8 kB / 0.7952 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3111, allocations: 0 / 0.7952 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3111, allocations: 0 / 0.7952 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3112, allocations: 27.92 kB / 0.7952 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3112, allocations: 4 kB / 0.7952 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.3113, allocations: 23.92 kB / 0.7952 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3113, allocations: 4 kB / 0.7952 GB, free: 3.773 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.0001562/0.3115, allocations: 166.4 kB / 0.7954 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.3116, allocations: 27.62 kB / 0.7954 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.3116, allocations: 43.2 kB / 0.7955 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3117, allocations: 0 / 0.7955 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3117, allocations: 4 kB / 0.7955 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3117, allocations: 0 / 0.7955 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.312, allocations: 309.3 kB / 0.7958 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.312, allocations: 8 kB / 0.7958 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3121, allocations: 15.98 kB / 0.7958 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3121, allocations: 4 kB / 0.7958 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3122, allocations: 4 kB / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3122, allocations: 0 / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3122, allocations: 0 / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.3125, allocations: 259 kB / 0.796 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.3126, allocations: 112.7 kB / 0.7961 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3127, allocations: 3.938 kB / 0.7961 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.3128, allocations: 7.984 kB / 0.7961 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3128, allocations: 4 kB / 0.7962 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3128, allocations: 3.984 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002668/0.3131, allocations: 283.1 kB / 0.7964 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3131, allocations: 0 / 0.7964 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002678/0.3134, allocations: 51.78 kB / 0.7965 GB, free: 2.398 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.0001332/0.3135, allocations: 107.2 kB / 0.7966 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3137, allocations: 71.92 kB / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3137, allocations: 0 / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.3138, allocations: 35.92 kB / 0.7967 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3142, allocations: 25.55 kB / 0.7967 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3153, allocations: 0.8101 MB / 0.7975 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3158, allocations: 0.7984 MB / 0.7983 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.3159, allocations: 16.64 kB / 0.7983 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.3159, allocations: 11.44 kB / 0.7983 GB, free: 476 kB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.3159, allocations: 0 / 0.7983 GB, free: 476 kB / 0.6075 GB Notification: Performance of Templates: time 0.004452/0.3204, allocations: 1.181 MB / 0.7995 GB, free: 15.3 MB / 0.6231 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: