Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007137/0.0007138, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007939/0.000794, allocations: 172.7 kB / 15.95 MB, free: 208 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.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.605/1.605, 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.0004985/0.0004985, allocations: 13.25 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003638/0.2161, allocations: 3.289 MB / 0.7905 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.2162, allocations: 151.6 kB / 0.7906 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.2163, allocations: 0 / 0.7906 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.2163, allocations: 0 / 0.7906 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.2164, allocations: 19.84 kB / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2166, allocations: 55.8 kB / 0.7907 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.2167, allocations: 47.83 kB / 0.7907 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.2168, allocations: 4 kB / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.2168, allocations: 8 kB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.2169, allocations: 15.91 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.2169, allocations: 0 / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.2173, allocations: 147.6 kB / 0.7909 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.2173, allocations: 7.984 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.2174, allocations: 33.69 kB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.2174, allocations: 28.2 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2175, allocations: 0 / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2175, allocations: 0 / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.2175, allocations: 0 / 0.791 GB, free: 8.145 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002993/0.2178, allocations: 323.4 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2178, allocations: 8.031 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.2178, allocations: 7.859 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.218, allocations: 171.1 kB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.218, allocations: 25.7 kB / 0.7915 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.218, allocations: 0 / 0.7915 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2182, allocations: 49.61 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2182, allocations: 0 / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2182, allocations: 4 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.2182, allocations: 0 / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.2183, allocations: 23.94 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.2186, allocations: 330.1 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.2187, allocations: 22.58 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.2187, allocations: 4.859 kB / 0.7919 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/0.2188, allocations: 89.09 kB / 0.792 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2188, allocations: 34.56 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.2188, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.2189, allocations: 41.66 kB / 0.7921 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.219, allocations: 59.33 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.2191, allocations: 105.8 kB / 0.7922 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.2191, allocations: 25.7 kB / 0.7922 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.2191, allocations: 84.05 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.2192, allocations: 11.89 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2192, allocations: 3.938 kB / 0.7923 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.2193, allocations: 314.8 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.2193, allocations: 8.062 kB / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.2193, allocations: 13.72 kB / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.2193, allocations: 7.984 kB / 0.7927 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2193, allocations: 0 / 0.7927 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.713e-05/0.2194, allocations: 45.7 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2194, allocations: 11.92 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2194, allocations: 0 / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2194, allocations: 8.016 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.2195, allocations: 8 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2195, allocations: 0 / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.2195, allocations: 0 / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2195, allocations: 8 kB / 0.7927 GB, free: 6.066 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.2196, allocations: 106.5 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.2196, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.2197, allocations: 117 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.2198, allocations: 188.2 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.714e-05/0.2199, allocations: 184.2 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.553e-05/0.2199, allocations: 180.2 kB / 0.7935 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2201, allocations: 405.2 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.2201, allocations: 108.9 kB / 0.794 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.2202, allocations: 105.3 kB / 0.7941 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.651e-05/0.2202, allocations: 176.3 kB / 0.7942 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.2203, allocations: 184.2 kB / 0.7944 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.222e-05/0.2204, allocations: 176.3 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.306e-05/0.2204, allocations: 180.2 kB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.2205, allocations: 319.7 kB / 0.7951 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.2206, allocations: 186 kB / 0.7952 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.2207, allocations: 188.2 kB / 0.7954 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2208, allocations: 108.9 kB / 0.7955 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.2209, allocations: 184.2 kB / 0.7957 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.221, allocations: 109 kB / 0.7958 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.221, allocations: 91.23 kB / 0.7959 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.221, allocations: 0 / 0.7959 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002409/0.2213, allocations: 19.94 kB / 0.7959 GB, free: 2.598 MB / 0.6075 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 (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.0001389/0.2214, allocations: 186.5 kB / 0.7961 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.979e-05/0.2215, allocations: 8 kB / 0.7961 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2215, allocations: 4.125 kB / 0.7961 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.2215, allocations: 0 / 0.7961 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.2219, allocations: 0.5287 MB / 0.7966 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.2221, allocations: 188 kB / 0.7968 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2223, allocations: 0.677 MB / 0.7974 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.2224, allocations: 11.73 kB / 0.7975 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.2224, allocations: 11.44 kB / 0.7975 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2224, allocations: 0 / 0.7975 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of Templates: time 0.002289/0.2247, allocations: 0.5094 MB / 0.798 GB, free: 436 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: