Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 179.4 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 96.75 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 8.969 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00242/0.2155, allocations: 1.91 MB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2169, allocations: 0.8761 MB / 0.9036 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2171, allocations: 8 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.2176, allocations: 167.1 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.2178, allocations: 55.62 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.2182, allocations: 87.83 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2184, allocations: 191.1 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2186, allocations: 73.58 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2187, allocations: 75.58 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2189, allocations: 83.52 kB / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.2189, allocations: 8 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.2192, allocations: 135.8 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2193, allocations: 195.4 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.2194, allocations: 121.3 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.2198, allocations: 0.5457 MB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2198, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2199, allocations: 4 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.2199, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 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.001074/0.221, allocations: 0.8856 MB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.221, allocations: 12.03 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005699/0.2216, allocations: 119 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.2223, allocations: 0.5539 MB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2223, allocations: 8 kB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2224, allocations: 12 kB / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.2227, allocations: 189.6 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2228, allocations: 0 / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2228, allocations: 4 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2228, allocations: 7.938 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.2232, allocations: 227.9 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2242, allocations: 0.9216 MB / 0.9081 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.2248, allocations: 318.3 kB / 0.9084 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.225, allocations: 112.9 kB / 0.9085 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008014/0.2258, allocations: 396.7 kB / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2258, allocations: 38.56 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2258, allocations: 0 / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006718/0.2265, allocations: 400.5 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2265, allocations: 55.41 kB / 0.9094 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/0.2274, allocations: 0.9934 MB / 0.9103 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2274, allocations: 25.7 kB / 0.9104 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.2276, allocations: 348 kB / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2277, allocations: 31.55 kB / 0.9107 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.2277, allocations: 0 / 0.9107 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.2277, allocations: 314 kB / 0.911 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2279, allocations: 99.95 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.2281, allocations: 122.4 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2283, allocations: 104 kB / 0.9113 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2283, allocations: 0 / 0.9113 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004964/0.2289, allocations: 312.6 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2289, allocations: 7.125 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2289, allocations: 64 / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2289, allocations: 8.469 kB / 0.9116 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2291, allocations: 23.92 kB / 0.9117 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2291, allocations: 4 kB / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.2292, allocations: 23.84 kB / 0.9117 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2293, allocations: 4 kB / 0.9117 GB, free: 52.48 MB / 0.6042 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.0001958/0.2295, allocations: 249.7 kB / 0.9119 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2295, allocations: 75.06 kB / 0.912 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.2301, allocations: 328.4 kB / 0.9123 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2301, allocations: 0 / 0.9123 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2301, allocations: 0 / 0.9123 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2301, allocations: 7.922 kB / 0.9123 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.2305, allocations: 0.5246 MB / 0.9128 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2305, allocations: 0 / 0.9128 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2306, allocations: 23.92 kB / 0.9129 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2307, allocations: 4 kB / 0.9129 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2307, allocations: 11.98 kB / 0.9129 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2307, allocations: 0 / 0.9129 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2307, allocations: 0 / 0.9129 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.2311, allocations: 406.4 kB / 0.9133 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2313, allocations: 176.1 kB / 0.9134 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.2314, allocations: 7.984 kB / 0.9134 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2315, allocations: 4 kB / 0.9134 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.2316, allocations: 3.984 kB / 0.9134 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2316, allocations: 8 kB / 0.9135 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007364/0.2323, allocations: 0.7098 MB / 0.9141 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2324, allocations: 0 / 0.9141 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003269/0.2327, allocations: 71.84 kB / 0.9142 GB, free: 49.8 MB / 0.6042 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.000191/0.2329, allocations: 119.2 kB / 0.9143 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.2333, allocations: 212 kB / 0.9145 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2333, allocations: 4.312 kB / 0.9145 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2335, allocations: 111.8 kB / 0.9146 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.2339, allocations: 55.25 kB / 0.9147 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2355, allocations: 1.347 MB / 0.916 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2358, allocations: 0.9481 MB / 0.9169 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.2359, allocations: 31.44 kB / 0.917 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.236, allocations: 4 kB / 0.917 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.008854/0.2448, allocations: 7.269 MB / 0.9241 GB, free: 39.64 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)