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.001172/0.001172, allocations: 105.5 kB / 16.29 MB, free: 6.02 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.001115/0.001115, allocations: 189 kB / 17.22 MB, free: 5.625 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.555/1.555, allocations: 205.1 MB / 223.1 MB, free: 12.19 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.891/1.891, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001526/0.001526, allocations: 79.88 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.294, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003763/0.2978, allocations: 2.25 MB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2992, allocations: 0.95 MB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.2993, allocations: 4 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.2999, allocations: 199.3 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.3, allocations: 59.5 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.3004, allocations: 119.7 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3006, allocations: 223 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.483/0.7837, allocations: 89.66 kB / 0.7879 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.784, allocations: 83.58 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.7841, allocations: 99.98 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.7842, allocations: 17.19 kB / 0.7881 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.7846, allocations: 150 kB / 0.7882 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.7848, allocations: 215.3 kB / 0.7884 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.785, allocations: 268.3 kB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.7856, allocations: 0.7167 MB / 0.7894 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7857, allocations: 4.25 kB / 0.7894 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7857, allocations: 0 / 0.7894 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.7857, allocations: 2.562 kB / 0.7894 GB, free: 46.36 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.001041/0.7867, allocations: 0.9699 MB / 0.7903 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7868, allocations: 9.312 kB / 0.7903 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.7873, allocations: 119.5 kB / 0.7904 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.788, allocations: 0.593 MB / 0.791 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.788, allocations: 9.156 kB / 0.791 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.788, allocations: 13.75 kB / 0.791 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.7884, allocations: 195.7 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7884, allocations: 192 / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.7884, allocations: 12.84 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.7885, allocations: 4 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.7888, allocations: 228.1 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.7899, allocations: 0.9222 MB / 0.7924 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.7904, allocations: 314.7 kB / 0.7927 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.7906, allocations: 108.4 kB / 0.7928 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.7913, allocations: 239.5 kB / 0.793 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.7913, allocations: 32.19 kB / 0.793 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.7913, allocations: 0 / 0.793 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0007545/0.7921, allocations: 405.1 kB / 0.7934 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.7921, allocations: 52.44 kB / 0.7935 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.7932, allocations: 0.9967 MB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.7932, allocations: 26.23 kB / 0.7945 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.7935, allocations: 348.8 kB / 0.7948 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.7936, allocations: 33.38 kB / 0.7948 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.7936, allocations: 29.44 kB / 0.7949 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.7937, allocations: 314.3 kB / 0.7952 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.7939, allocations: 95.2 kB / 0.7952 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.7941, allocations: 122.9 kB / 0.7954 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.7945, allocations: 213.7 kB / 0.7956 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7945, allocations: 0 / 0.7956 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005179/0.7951, allocations: 326.2 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7951, allocations: 8.75 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7951, allocations: 0 / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7951, allocations: 3.406 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.7953, allocations: 25.64 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.7953, allocations: 4 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7955, allocations: 13.11 kB / 0.7959 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.7955, allocations: 1.719 kB / 0.7959 GB, free: 43.95 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.0002941/0.7958, allocations: 257.5 kB / 0.7962 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.7959, allocations: 75.31 kB / 0.7962 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.7965, allocations: 330.9 kB / 0.7966 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7966, allocations: 2.219 kB / 0.7966 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.7966, allocations: 1.688 kB / 0.7966 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7966, allocations: 0.6562 kB / 0.7966 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.7972, allocations: 0.5227 MB / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7972, allocations: 7.938 kB / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.7974, allocations: 19.88 kB / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7974, allocations: 3.688 kB / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.7974, allocations: 5.719 kB / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7974, allocations: 0 / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7974, allocations: 0 / 0.7971 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.7979, allocations: 406.1 kB / 0.7975 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.7982, allocations: 186.6 kB / 0.7977 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.7982, allocations: 0.7969 kB / 0.7977 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.7984, allocations: 9.875 kB / 0.7977 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.7985, allocations: 9.469 kB / 0.7977 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.7985, allocations: 2.906 kB / 0.7977 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009814/0.7995, allocations: 0.7198 MB / 0.7984 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7995, allocations: 0 / 0.7984 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003955/0.7999, allocations: 70.34 kB / 0.7985 GB, free: 43 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.0002122/0.8001, allocations: 116 kB / 0.7986 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.8006, allocations: 218.9 kB / 0.7988 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8006, allocations: 1.781 kB / 0.7988 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.8008, allocations: 110.3 kB / 0.7989 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.8012, allocations: 53.61 kB / 0.7989 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.8029, allocations: 1.144 MB / 0.8001 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.8035, allocations: 0.9487 MB / 0.801 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.8037, allocations: 80.97 kB / 0.8011 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.8038, allocations: 41.2 kB / 0.8011 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.8038, allocations: 0 / 0.8011 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.01413/0.8179, allocations: 4.389 MB / 0.8054 GB, free: 41.25 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)