Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.001779, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002727/0.002728, allocations: 187.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.752/1.752, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001743/0.001743, allocations: 68.3 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.255, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005643/0.2607, allocations: 3.284 MB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.2609, allocations: 51.84 kB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.2609, allocations: 0 / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.757e-05/0.261, allocations: 3.938 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.2611, allocations: 11.92 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.2617, allocations: 175.3 kB / 0.7871 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.2618, allocations: 31.84 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.2618, allocations: 7.938 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.2619, allocations: 19.92 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.262, allocations: 7.938 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.262, allocations: 0 / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.2623, allocations: 175.5 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.2624, allocations: 11.98 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.2624, allocations: 7.938 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.2627, allocations: 132 kB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2627, allocations: 0 / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.058e-06/0.2627, allocations: 4 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2627, allocations: 0 / 0.7874 GB, free: 9.312 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.0004454/0.2632, allocations: 351.3 kB / 0.7878 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2632, allocations: 8.031 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.2632, allocations: 34.69 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.2633, allocations: 12.92 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2634, allocations: 160.4 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.2635, allocations: 26.27 kB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.2636, allocations: 8.125 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2637, allocations: 45.67 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2637, allocations: 0 / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2637, allocations: 0 / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.2638, allocations: 3.984 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.2638, allocations: 16 kB / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.2645, allocations: 0.5833 MB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.2646, allocations: 18.58 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.2646, allocations: 8.859 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.2648, allocations: 340.5 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2649, allocations: 34.56 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.2649, allocations: 4 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000159/0.265, allocations: 37.64 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2651, allocations: 51.41 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.2652, allocations: 101.8 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2652, allocations: 25.7 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.2653, allocations: 88.05 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.2653, allocations: 11.84 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.2653, allocations: 21.77 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2654, allocations: 326.8 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.2655, allocations: 0 / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.2655, allocations: 17.7 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/0.2655, allocations: 25.66 kB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2655, allocations: 0 / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.568e-05/0.2656, allocations: 49.69 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2657, allocations: 11.94 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2657, allocations: 0 / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2657, allocations: 0 / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.2657, allocations: 7.938 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2657, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.2658, allocations: 8 kB / 0.7898 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2658, allocations: 0 / 0.7898 GB, free: 6.516 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.418e-05/0.2659, allocations: 114.4 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.2659, allocations: 8.047 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.266, allocations: 120.9 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/0.2661, allocations: 180.2 kB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.615e-05/0.2662, allocations: 176.3 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/0.2663, allocations: 188.2 kB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2665, allocations: 409.2 kB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.735e-05/0.2666, allocations: 101 kB / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.2666, allocations: 109 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.2667, allocations: 180.3 kB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.2667, allocations: 184.2 kB / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.137e-05/0.2668, allocations: 176.3 kB / 0.7916 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-05/0.2669, allocations: 188.2 kB / 0.7918 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.267, allocations: 307.7 kB / 0.7921 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.2671, allocations: 182 kB / 0.7923 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.2672, allocations: 188.2 kB / 0.7925 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2674, allocations: 105 kB / 0.7926 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.2675, allocations: 184.5 kB / 0.7927 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.2675, allocations: 105 kB / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.2676, allocations: 83.28 kB / 0.7929 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2676, allocations: 0 / 0.7929 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002942/0.2679, allocations: 39.94 kB / 0.793 GB, free: 3.035 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 (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.0005569/0.2684, allocations: 0.8749 MB / 0.7938 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.682e-05/0.2685, allocations: 4 kB / 0.7938 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2685, allocations: 0 / 0.7938 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.473e-06/0.2685, allocations: 11.92 kB / 0.7938 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.269, allocations: 458.5 kB / 0.7943 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2701, allocations: 1.339 MB / 0.7956 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2703, allocations: 0.6768 MB / 0.7962 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.2704, allocations: 7.938 kB / 0.7962 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.2704, allocations: 7.438 kB / 0.7963 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.2704, allocations: 0 / 0.7963 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.2894, allocations: 2.106 MB / 0.7983 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.918, allocations: 12.42 kB / 0.7983 GB, free: 13.59 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)