Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.182/2.182, allocations: 252 MB / 267.3 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.001431/0.001431, allocations: 176.7 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.818/2.818, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.001494/0.001494, allocations: 104.1 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 11.69 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006101/0.2841, allocations: 3.706 MB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.2845, allocations: 147.6 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.2845, allocations: 0 / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2848, allocations: 3.938 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2849, allocations: 15.92 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.2855, allocations: 67.83 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.2857, allocations: 59.77 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2858, allocations: 0 / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.2859, allocations: 15.97 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.286, allocations: 8 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.286, allocations: 3.938 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.2864, allocations: 75.77 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.2865, allocations: 7.938 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.2865, allocations: 37.69 kB / 0.9049 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2867, allocations: 47.89 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2867, allocations: 0 / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2867, allocations: 0 / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2868, allocations: 0 / 0.905 GB, free: 59.18 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.0004651/0.2872, allocations: 335.8 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.2873, allocations: 8.031 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.2874, allocations: 30.75 kB / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.2874, allocations: 4.938 kB / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2875, allocations: 160.4 kB / 0.9055 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.2876, allocations: 34.27 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2876, allocations: 8.125 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.2878, allocations: 45.61 kB / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2878, allocations: 0 / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2878, allocations: 0 / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.2879, allocations: 0 / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.2879, allocations: 19.98 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2884, allocations: 341.9 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.197e-05/0.2885, allocations: 18.52 kB / 0.9059 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.2885, allocations: 4.859 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.2886, allocations: 85.17 kB / 0.906 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2887, allocations: 34.56 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2887, allocations: 0 / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.2889, allocations: 41.69 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2889, allocations: 55.41 kB / 0.9062 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.289, allocations: 101.8 kB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2891, allocations: 25.7 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.2891, allocations: 91.98 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.2891, allocations: 7.875 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.2891, allocations: 0 / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.2892, allocations: 318.8 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.2893, allocations: 12.12 kB / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.2893, allocations: 17.7 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.2893, allocations: 17.72 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2893, allocations: 0 / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.308e-05/0.2894, allocations: 53.62 kB / 0.9068 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2895, allocations: 6.969 kB / 0.9068 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2895, allocations: 4.062 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2895, allocations: 288 / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.2896, allocations: 8 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2896, allocations: 0 / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.2896, allocations: 3.906 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2896, allocations: 4 kB / 0.9068 GB, free: 57.04 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.583e-05/0.2897, allocations: 113.8 kB / 0.9069 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2897, allocations: 3.984 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.2899, allocations: 124.9 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.2899, allocations: 176.3 kB / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.525e-05/0.29, allocations: 192.1 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/0.29, allocations: 176.3 kB / 0.9076 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2902, allocations: 413.1 kB / 0.9079 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.2902, allocations: 105 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.2903, allocations: 101 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.129e-05/0.2903, allocations: 180.2 kB / 0.9083 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.2904, allocations: 180.3 kB / 0.9085 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-05/0.2904, allocations: 188.2 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-05/0.2905, allocations: 176.3 kB / 0.9088 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.2906, allocations: 307.7 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.2907, allocations: 190.1 kB / 0.9093 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.2907, allocations: 180.2 kB / 0.9095 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2909, allocations: 113 kB / 0.9096 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.291, allocations: 180.3 kB / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.291, allocations: 108.9 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.291, allocations: 83.28 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.291, allocations: 3.938 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003067/0.2914, allocations: 19.92 kB / 0.91 GB, free: 53.57 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.0005064/0.2919, allocations: 0.8321 MB / 0.9108 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.292, allocations: 11.94 kB / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.292, allocations: 0 / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.292, allocations: 0 / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.2924, allocations: 0.5303 MB / 0.9113 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.2934, allocations: 1.327 MB / 0.9126 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2935, allocations: 0.6731 MB / 0.9133 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.788e-05/0.2936, allocations: 11.98 kB / 0.9133 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2936, allocations: 7.438 kB / 0.9133 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2936, allocations: 0 / 0.9133 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.3055, allocations: 1.275 MB / 0.9145 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.3058, allocations: 223.2 kB / 0.9147 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.441, allocations: 0 / 0.9147 GB, free: 48.66 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)