Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001426, allocations: 99.61 kB / 16.27 MB, free: 5.969 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.001621/0.001621, allocations: 194.2 kB / 17.2 MB, free: 5.594 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.334/1.334, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.806/1.806, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001631/0.001632, allocations: 68.45 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2267, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003617/0.2303, allocations: 2.255 MB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2318, allocations: 0.9423 MB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.232, allocations: 7.938 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.2325, allocations: 195.4 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2327, allocations: 67.44 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2331, allocations: 115.7 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.2334, allocations: 223 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3633/0.5966, allocations: 83.17 kB / 0.7878 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.5969, allocations: 86.03 kB / 0.7879 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.5971, allocations: 101 kB / 0.788 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.5971, allocations: 18.5 kB / 0.788 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.5975, allocations: 150.1 kB / 0.7882 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.5976, allocations: 214.1 kB / 0.7884 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.5978, allocations: 265 kB / 0.7886 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.5985, allocations: 0.7087 MB / 0.7893 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5985, allocations: 1.594 kB / 0.7893 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5985, allocations: 3.969 kB / 0.7893 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.5985, allocations: 0 / 0.7893 GB, free: 45.75 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001071/0.5996, allocations: 0.9736 MB / 0.7903 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5997, allocations: 13.56 kB / 0.7903 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.6002, allocations: 116.5 kB / 0.7904 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.6008, allocations: 0.5916 MB / 0.791 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6009, allocations: 12.14 kB / 0.791 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.6009, allocations: 17.95 kB / 0.791 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.6013, allocations: 193.1 kB / 0.7912 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6013, allocations: 192 / 0.7912 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.6013, allocations: 7.875 kB / 0.7912 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.6013, allocations: 4.688 kB / 0.7912 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.6017, allocations: 226.8 kB / 0.7914 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.6028, allocations: 0.9205 MB / 0.7923 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.6035, allocations: 312.1 kB / 0.7926 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.6037, allocations: 110.8 kB / 0.7927 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.6045, allocations: 237.9 kB / 0.7929 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.6045, allocations: 33.94 kB / 0.793 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.6045, allocations: 0 / 0.793 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0008007/0.6053, allocations: 400.1 kB / 0.7933 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.6054, allocations: 54.91 kB / 0.7934 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.6064, allocations: 0.9986 MB / 0.7944 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.6064, allocations: 29.58 kB / 0.7944 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.6067, allocations: 343.8 kB / 0.7947 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.6067, allocations: 35.95 kB / 0.7948 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.6068, allocations: 25.92 kB / 0.7948 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.6068, allocations: 312.6 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.607, allocations: 96.55 kB / 0.7952 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.6072, allocations: 119.9 kB / 0.7953 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.6076, allocations: 224.4 kB / 0.7955 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6076, allocations: 3.938 kB / 0.7955 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004892/0.6081, allocations: 321 kB / 0.7958 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6081, allocations: 7 kB / 0.7958 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6081, allocations: 1.75 kB / 0.7958 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6082, allocations: 3.375 kB / 0.7958 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.6083, allocations: 26.81 kB / 0.7959 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6084, allocations: 1.719 kB / 0.7959 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.6085, allocations: 14.73 kB / 0.7959 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.6085, allocations: 7.125 kB / 0.7959 GB, free: 43.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002032/0.6088, allocations: 249.3 kB / 0.7961 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.6088, allocations: 79.22 kB / 0.7962 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.6094, allocations: 332.2 kB / 0.7965 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6094, allocations: 0 / 0.7965 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6094, allocations: 0 / 0.7965 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6094, allocations: 0 / 0.7965 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.6099, allocations: 0.5269 MB / 0.797 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6099, allocations: 3.938 kB / 0.797 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.6101, allocations: 23.8 kB / 0.7971 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6101, allocations: 3 kB / 0.7971 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6101, allocations: 3 kB / 0.7971 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6101, allocations: 4.031 kB / 0.7971 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6101, allocations: 0 / 0.7971 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.6106, allocations: 406.6 kB / 0.7974 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.6108, allocations: 182.8 kB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.6109, allocations: 0.5625 kB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.611, allocations: 8.391 kB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.6111, allocations: 6.859 kB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.6111, allocations: 8.812 kB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008006/0.6119, allocations: 0.7147 MB / 0.7983 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6119, allocations: 4 kB / 0.7983 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00037/0.6123, allocations: 71.73 kB / 0.7984 GB, free: 42.51 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0001802/0.6125, allocations: 113.1 kB / 0.7985 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.613, allocations: 218.7 kB / 0.7987 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.613, allocations: 4.125 kB / 0.7987 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.6132, allocations: 106.4 kB / 0.7988 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.6136, allocations: 55.19 kB / 0.7989 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.6153, allocations: 1.23 MB / 0.8001 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.6158, allocations: 0.9424 MB / 0.801 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6159, allocations: 35.44 kB / 0.801 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.6159, allocations: 0 / 0.801 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01804/0.634, allocations: 7.182 MB / 0.8081 GB, free: 39.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)