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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 252 MB / 267 MB, free: 10.98 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.0009267/0.0009267, allocations: 186.4 kB / 326.6 MB, free: 2.238 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.98/1.98, allocations: 205.4 MB / 0.5776 GB, free: 20.59 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.0008604/0.00086, allocations: 92.47 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8.562 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2704, allocations: 106.3 MB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005337/0.2758, allocations: 3.304 MB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.276, allocations: 139.6 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.2761, allocations: 4 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.2762, allocations: 0 / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.2763, allocations: 19.91 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.2766, allocations: 43.8 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2768, allocations: 43.89 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.2768, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.2769, allocations: 19.91 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.277, allocations: 8 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.277, allocations: 0 / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000834/0.2779, allocations: 155.6 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.278, allocations: 7.984 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.278, allocations: 33.64 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2782, allocations: 23.98 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2782, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2782, allocations: 0 / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2782, allocations: 0 / 0.904 GB, free: 60.54 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.000457/0.2787, allocations: 335.6 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.2787, allocations: 8.031 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.2788, allocations: 34.5 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.2789, allocations: 7.953 kB / 0.9044 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.2789, allocations: 163.1 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.279, allocations: 29.64 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2791, allocations: 4 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2792, allocations: 45.67 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2792, allocations: 0 / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2792, allocations: 4 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.2793, allocations: 7.891 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.2793, allocations: 15.98 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.2798, allocations: 326.1 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.2799, allocations: 26.58 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.2799, allocations: 8.859 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/0.28, allocations: 93.16 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.28, allocations: 38.45 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.28, allocations: 3.984 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000191/0.2802, allocations: 33.61 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2803, allocations: 55.41 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2804, allocations: 101.8 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.2804, allocations: 25.7 kB / 0.9053 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2805, allocations: 92.17 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-06/0.2805, allocations: 4 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2805, allocations: 0 / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.2806, allocations: 310.8 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.2806, allocations: 7.984 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.2807, allocations: 21.66 kB / 0.9057 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.2807, allocations: 4 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2807, allocations: 4 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001368/0.2809, allocations: 45.69 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2809, allocations: 10.45 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.281, allocations: 0 / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.281, allocations: 4 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.2811, allocations: 7.938 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2811, allocations: 0 / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.2811, allocations: 7.922 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2811, allocations: 4 kB / 0.9058 GB, free: 58.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.2812, allocations: 113.8 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2812, allocations: 7.906 kB / 0.9059 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2813, allocations: 116.9 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.696e-05/0.2814, allocations: 188.2 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-05/0.2814, allocations: 180.3 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/0.2815, allocations: 184.2 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2816, allocations: 405.2 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.2817, allocations: 101 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.2817, allocations: 104.9 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.291e-05/0.2818, allocations: 184.2 kB / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.2818, allocations: 188.2 kB / 0.9075 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.2819, allocations: 184.2 kB / 0.9077 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.111e-05/0.2819, allocations: 176.3 kB / 0.9078 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.282, allocations: 307.8 kB / 0.9081 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.2821, allocations: 186 kB / 0.9083 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.2822, allocations: 184.3 kB / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2824, allocations: 109 kB / 0.9086 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.2824, allocations: 188.2 kB / 0.9088 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.2824, allocations: 105 kB / 0.9089 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.2825, allocations: 83.27 kB / 0.9089 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2825, allocations: 0 / 0.9089 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002554/0.2828, allocations: 12 kB / 0.909 GB, free: 54.96 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 (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.0004829/0.2833, allocations: 0.8243 MB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.584e-05/0.2834, allocations: 11.98 kB / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2834, allocations: 0 / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.2834, allocations: 4.062 kB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2839, allocations: 0.5301 MB / 0.9103 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.2844, allocations: 229.4 kB / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2846, allocations: 0.6731 MB / 0.9112 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.2847, allocations: 10.62 kB / 0.9112 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2848, allocations: 11.44 kB / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2848, allocations: 0 / 0.9112 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.2995, allocations: 1.222 MB / 0.9124 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.2997, allocations: 227.6 kB / 0.9126 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.917, allocations: 0 / 0.9126 GB, free: 51.3 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)