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.0009566/0.0009566, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001009/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 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.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.586/1.586, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0004958/0.0004958, allocations: 14.91 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2543, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002643/0.257, allocations: 1.866 MB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2583, allocations: 0.8492 MB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.2584, allocations: 4 kB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.2589, allocations: 179.2 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.259, allocations: 63.83 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.2593, allocations: 79.81 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.2595, allocations: 167.5 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2597, allocations: 69.66 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.2598, allocations: 71.64 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.26, allocations: 83.53 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.26, allocations: 4 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.2603, allocations: 127.8 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.2604, allocations: 163.5 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.2605, allocations: 121.3 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.261, allocations: 0.5067 MB / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.261, allocations: 3.938 kB / 0.7914 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.261, allocations: 0 / 0.7914 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.261, allocations: 0 / 0.7914 GB, free: 7.566 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.001013/0.262, allocations: 0.8583 MB / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2621, allocations: 15.97 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.2626, allocations: 122.9 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.2637, allocations: 0.7952 MB / 0.7931 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.2638, allocations: 15.98 kB / 0.7931 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.2638, allocations: 8 kB / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.2641, allocations: 137.6 kB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2642, allocations: 0 / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2642, allocations: 7.984 kB / 0.7933 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2642, allocations: 4 kB / 0.7933 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.2646, allocations: 111.9 kB / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.2654, allocations: 0.629 MB / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.2659, allocations: 146.5 kB / 0.7941 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/0.2665, allocations: 0.5814 MB / 0.7947 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2666, allocations: 30.84 kB / 0.7947 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2666, allocations: 3.938 kB / 0.7947 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003016/0.2669, allocations: 144.7 kB / 0.7949 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2669, allocations: 51.41 kB / 0.7949 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.2677, allocations: 0.7789 MB / 0.7957 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2677, allocations: 29.7 kB / 0.7957 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.268, allocations: 371.4 kB / 0.7961 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.268, allocations: 15.75 kB / 0.7961 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.2681, allocations: 4 kB / 0.7961 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2682, allocations: 310 kB / 0.7964 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.2683, allocations: 12 kB / 0.7964 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.2683, allocations: 73.86 kB / 0.7965 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.2684, allocations: 24 kB / 0.7965 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2684, allocations: 0 / 0.7965 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.2687, allocations: 172.6 kB / 0.7966 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2687, allocations: 8 kB / 0.7967 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2687, allocations: 0 / 0.7967 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2687, allocations: 4 kB / 0.7967 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.2688, allocations: 23.92 kB / 0.7967 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.2688, allocations: 0 / 0.7967 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.2689, allocations: 7.906 kB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.269, allocations: 8 kB / 0.7967 GB, free: 1.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002784/0.2693, allocations: 257.9 kB / 0.7969 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.2693, allocations: 75.02 kB / 0.797 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.2697, allocations: 140.2 kB / 0.7971 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2697, allocations: 0 / 0.7971 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.2697, allocations: 4 kB / 0.7972 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2697, allocations: 0 / 0.7972 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.2702, allocations: 381.4 kB / 0.7975 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2702, allocations: 4 kB / 0.7975 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.2703, allocations: 12.36 kB / 0.7975 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2703, allocations: 3.938 kB / 0.7975 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2703, allocations: 7.953 kB / 0.7975 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2703, allocations: 4 kB / 0.7975 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2703, allocations: 0 / 0.7975 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.2706, allocations: 226.5 kB / 0.7978 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.2707, allocations: 140.1 kB / 0.7979 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.2708, allocations: 8 kB / 0.7979 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.2709, allocations: 7.953 kB / 0.7979 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2709, allocations: 3.984 kB / 0.7979 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2709, allocations: 4 kB / 0.7979 GB, free: 444 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005767/0.2715, allocations: 0.5497 MB / 0.7985 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2715, allocations: 0 / 0.7985 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000306/0.2718, allocations: 47.84 kB / 0.7985 GB, free: 15.84 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 (5): * Single equations (assignments): 5 * 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.0001828/0.272, allocations: 107.2 kB / 0.7986 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2722, allocations: 51.91 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2722, allocations: 3.938 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.2723, allocations: 16 kB / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2726, allocations: 43.3 kB / 0.7987 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.274, allocations: 1.174 MB / 0.7999 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.2746, allocations: 0.9598 MB / 0.8008 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.2748, allocations: 69.33 kB / 0.8009 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.2748, allocations: 27.44 kB / 0.8009 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.2748, allocations: 0 / 0.8009 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.006352/0.2812, allocations: 1.682 MB / 0.8025 GB, free: 11.66 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: