Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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 2.246/2.246, allocations: 252 MB / 267.3 MB, free: 10.84 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.001492/0.001492, allocations: 172.2 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.014/3.014, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009488/0.0009488, allocations: 98.81 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005209, allocations: 8.25 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3172, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004351/0.3217, allocations: 3.007 MB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.833e-05/0.3218, allocations: 39.88 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.3218, allocations: 0 / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.322, allocations: 0 / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.3221, allocations: 23.91 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.3227, allocations: 155.4 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3228, allocations: 55.83 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.3228, allocations: 0 / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.3229, allocations: 19.97 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.323, allocations: 15.92 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.323, allocations: 0 / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.3234, allocations: 175.5 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.3235, allocations: 4 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.3235, allocations: 33.64 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.3239, allocations: 127.8 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3239, allocations: 3.938 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3239, allocations: 4 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3239, allocations: 3.938 kB / 0.9045 GB, free: 59.7 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.0003706/0.3243, allocations: 339.8 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3243, allocations: 8.031 kB / 0.9048 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3244, allocations: 34.75 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.3244, allocations: 0.9375 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/0.3245, allocations: 172.3 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.3246, allocations: 26.27 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3246, allocations: 8.125 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3248, allocations: 45.67 kB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3248, allocations: 0 / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3248, allocations: 4 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.3249, allocations: 3.984 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.325, allocations: 19.92 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.3256, allocations: 0.5871 MB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.847e-05/0.3256, allocations: 22.61 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.3256, allocations: 8.922 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.3258, allocations: 336.4 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3259, allocations: 34.56 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.3259, allocations: 4 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.3261, allocations: 37.62 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.3261, allocations: 55.53 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.3262, allocations: 101.9 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3262, allocations: 25.7 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.3262, allocations: 88.03 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.3262, allocations: 0 / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.3263, allocations: 0 / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.3263, allocations: 322.8 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.3263, allocations: 0 / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.3264, allocations: 17.72 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.3264, allocations: 29.64 kB / 0.9067 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3264, allocations: 0 / 0.9067 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.145e-05/0.3265, allocations: 49.62 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3266, allocations: 10.97 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3266, allocations: 0 / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3266, allocations: 0 / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.3267, allocations: 12 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3267, allocations: 0 / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.3267, allocations: 7.906 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3267, allocations: 0 / 0.9068 GB, free: 56.93 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 6.17e-05/0.3268, allocations: 115.8 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.3268, allocations: 3.984 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.327, allocations: 124.9 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.327, allocations: 184.2 kB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/0.327, allocations: 176.3 kB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/0.3271, allocations: 184.2 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3273, allocations: 409.2 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.3273, allocations: 108.9 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.3273, allocations: 105 kB / 0.9082 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.717e-05/0.3274, allocations: 180.3 kB / 0.9083 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.3274, allocations: 184.2 kB / 0.9085 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/0.3274, allocations: 176.3 kB / 0.9087 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.56e-05/0.3275, allocations: 188.2 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.947e-05/0.3275, allocations: 307.8 kB / 0.9091 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.3276, allocations: 186 kB / 0.9093 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.3277, allocations: 180.3 kB / 0.9095 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3278, allocations: 108.9 kB / 0.9096 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3279, allocations: 188.5 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3279, allocations: 105 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.3279, allocations: 79.28 kB / 0.91 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.328, allocations: 3.938 kB / 0.91 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004391/0.3284, allocations: 43.86 kB / 0.91 GB, free: 53.45 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.0004258/0.3288, allocations: 0.8607 MB / 0.9108 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.3289, allocations: 11.92 kB / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.329, allocations: 4 kB / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.329, allocations: 4.125 kB / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3295, allocations: 0.5289 MB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.3304, allocations: 1.345 MB / 0.9127 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3306, allocations: 0.6731 MB / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.599e-05/0.3306, allocations: 10.09 kB / 0.9134 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3307, allocations: 7.438 kB / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.3307, allocations: 0 / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08636/0.417, allocations: 1.905 MB / 0.9152 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.4174, allocations: 281.6 kB / 0.9155 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3/3.418, allocations: 2.625 kB / 0.9155 GB, free: 47.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)