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.0008135/0.0008135, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001057/0.001057, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.667/1.667, 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.0005525/0.0005525, allocations: 22.19 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2487, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002325/0.2511, allocations: 1.889 MB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2525, allocations: 0.8761 MB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2527, allocations: 8 kB / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.2532, allocations: 167.1 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2533, allocations: 63.56 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.2537, allocations: 79.89 kB / 0.7903 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.254, allocations: 191.1 kB / 0.7905 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2541, allocations: 77.64 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2543, allocations: 75.58 kB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2544, allocations: 87.45 kB / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2544, allocations: 7.938 kB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.2547, allocations: 135.8 kB / 0.7908 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.2549, allocations: 199.4 kB / 0.791 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.255, allocations: 117.3 kB / 0.7911 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.2555, allocations: 0.5496 MB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2555, allocations: 4 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2555, allocations: 0 / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.2555, allocations: 0 / 0.7917 GB, free: 7.375 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001181/0.2567, allocations: 0.8817 MB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2567, allocations: 12.02 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/0.2572, allocations: 122.8 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.258, allocations: 0.5462 MB / 0.7932 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.258, allocations: 8 kB / 0.7932 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.258, allocations: 12 kB / 0.7932 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.2584, allocations: 201.5 kB / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.2584, allocations: 0 / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2585, allocations: 0 / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2585, allocations: 4 kB / 0.7934 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.2589, allocations: 227.9 kB / 0.7936 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.26, allocations: 0.9255 MB / 0.7945 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.2606, allocations: 314.5 kB / 0.7948 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.2608, allocations: 104.8 kB / 0.7949 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.2616, allocations: 400.7 kB / 0.7953 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2616, allocations: 34.56 kB / 0.7954 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2616, allocations: 7.875 kB / 0.7954 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007212/0.2624, allocations: 400.6 kB / 0.7958 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2624, allocations: 55.41 kB / 0.7958 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.2636, allocations: 0.9857 MB / 0.7968 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2636, allocations: 25.7 kB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2639, allocations: 348 kB / 0.7971 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.264, allocations: 31.55 kB / 0.7972 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.264, allocations: 4 kB / 0.7972 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2641, allocations: 317.9 kB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.2643, allocations: 95.95 kB / 0.7976 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.2645, allocations: 118.5 kB / 0.7977 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2647, allocations: 104 kB / 0.7978 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2647, allocations: 0 / 0.7978 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005168/0.2652, allocations: 316.5 kB / 0.7981 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2652, allocations: 7.984 kB / 0.7981 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2652, allocations: 8.062 kB / 0.7981 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2653, allocations: 0 / 0.7981 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2654, allocations: 27.98 kB / 0.7981 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2654, allocations: 0 / 0.7981 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.2656, allocations: 11.92 kB / 0.7981 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2656, allocations: 4 kB / 0.7981 GB, free: 0.5312 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002802/0.2659, allocations: 250.2 kB / 0.7984 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.266, allocations: 79.05 kB / 0.7984 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.2666, allocations: 328.4 kB / 0.7988 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2666, allocations: 4 kB / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2666, allocations: 4 kB / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2666, allocations: 0 / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.2671, allocations: 0.5361 MB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2672, allocations: 4 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2673, allocations: 23.98 kB / 0.7993 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.2673, allocations: 4 kB / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2673, allocations: 0 / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2673, allocations: 0 / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2673, allocations: 0 / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.2678, allocations: 406.4 kB / 0.7997 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.268, allocations: 188.1 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.2681, allocations: 0 / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2682, allocations: 7.984 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.2683, allocations: 8 kB / 0.7999 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2683, allocations: 3.984 kB / 0.7999 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008038/0.2691, allocations: 0.7098 MB / 0.8006 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2691, allocations: 4 kB / 0.8006 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003606/0.2695, allocations: 67.91 kB / 0.8007 GB, free: 13.83 MB / 0.6231 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 (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.0002195/0.2697, allocations: 115.2 kB / 0.8008 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.2701, allocations: 212 kB / 0.801 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2702, allocations: 7.938 kB / 0.801 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.2703, allocations: 104.3 kB / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.2707, allocations: 59.38 kB / 0.8011 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.2724, allocations: 1.277 MB / 0.8024 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.273, allocations: 0.952 MB / 0.8033 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.2732, allocations: 81.31 kB / 0.8034 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.2733, allocations: 31.44 kB / 0.8034 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2733, allocations: 4 kB / 0.8034 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.00917/0.2825, allocations: 4.066 MB / 0.8074 GB, free: 6.879 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: