Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 252 MB / 268 MB, free: 10.86 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.001094/0.001094, allocations: 178.8 kB / 327.6 MB, free: 2.078 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.86/1.86, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008328/0.0008326, allocations: 87.42 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 10.53 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 106.3 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003531/0.2158, allocations: 3.419 MB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.216, allocations: 159.5 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.216, allocations: 0 / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.755e-05/0.2161, allocations: 7.938 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.2162, allocations: 3.984 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2165, allocations: 75.7 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.2165, allocations: 59.77 kB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.2166, allocations: 0 / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.2166, allocations: 15.97 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.2167, allocations: 23.92 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2168, allocations: 0 / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.2172, allocations: 191.5 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2173, allocations: 7.984 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.2173, allocations: 37.64 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.305e-05/0.2174, allocations: 27.97 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2174, allocations: 0 / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2174, allocations: 0 / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2174, allocations: 4 kB / 0.9054 GB, free: 59.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003011/0.2177, allocations: 331.8 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2178, allocations: 12.02 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.2178, allocations: 0.9375 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.2179, allocations: 168.3 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.218, allocations: 30.2 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.218, allocations: 384 / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2181, allocations: 45.62 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2181, allocations: 4 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2181, allocations: 0 / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2182, allocations: 7.984 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.2182, allocations: 12 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.2186, allocations: 330 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.2186, allocations: 22.52 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.2186, allocations: 4.859 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/0.2187, allocations: 93.14 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2187, allocations: 42.56 kB / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.2187, allocations: 0 / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.2189, allocations: 29.7 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.2189, allocations: 51.41 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.219, allocations: 109.8 kB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.219, allocations: 29.77 kB / 0.9066 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.219, allocations: 91.98 kB / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.219, allocations: 7.906 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/0.219, allocations: 0 / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.2191, allocations: 322.8 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.2191, allocations: 4 kB / 0.907 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.2191, allocations: 13.72 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.2192, allocations: 25.7 kB / 0.9071 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2192, allocations: 0 / 0.9071 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.998e-05/0.2193, allocations: 49.64 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.2193, allocations: 7.938 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2193, allocations: 3.984 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2193, allocations: 0 / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.2193, allocations: 4 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2194, allocations: 4 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.2194, allocations: 64 / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2194, allocations: 4 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.083e-05/0.2195, allocations: 117.7 kB / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.2195, allocations: 0 / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.2196, allocations: 121 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.2196, allocations: 176.3 kB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/0.2196, allocations: 184.2 kB / 0.9077 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.2197, allocations: 180.3 kB / 0.9079 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2198, allocations: 409.1 kB / 0.9083 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.2198, allocations: 109 kB / 0.9084 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.2198, allocations: 101 kB / 0.9085 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/0.2199, allocations: 180.2 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2199, allocations: 184.3 kB / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-05/0.2199, allocations: 184.2 kB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/0.2199, allocations: 180.3 kB / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.438e-05/0.22, allocations: 311.7 kB / 0.9095 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.2201, allocations: 186 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2201, allocations: 188.2 kB / 0.9098 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2202, allocations: 105 kB / 0.9099 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2203, allocations: 180.2 kB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2203, allocations: 109 kB / 0.9102 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.2203, allocations: 87.22 kB / 0.9103 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2203, allocations: 4 kB / 0.9103 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002188/0.2206, allocations: 12 kB / 0.9103 GB, free: 53.75 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 (0): * Single equations (assignments): 0 * 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.00022/0.2208, allocations: 202.4 kB / 0.9105 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.306e-05/0.2209, allocations: 15.94 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2209, allocations: 0 / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.2209, allocations: 0 / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2212, allocations: 0.5264 MB / 0.911 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.2214, allocations: 213.6 kB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2215, allocations: 0.6731 MB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.2215, allocations: 15.44 kB / 0.9119 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2215, allocations: 0 / 0.9119 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.001795/0.2233, allocations: 0.7357 MB / 0.9126 GB, free: 51.31 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)