Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001072/0.001071, allocations: 91.53 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.001208/0.001208, 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.853/1.853, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005764/0.0005766, allocations: 12.31 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005335/0.2257, allocations: 3.561 MB / 0.7909 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002019/0.2259, allocations: 143.6 kB / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.226, allocations: 0 / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2261, allocations: 3.984 kB / 0.791 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.2262, allocations: 11.92 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.2265, allocations: 63.78 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.2266, allocations: 35.91 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.2267, allocations: 0 / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.2267, allocations: 23.91 kB / 0.7911 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.2268, allocations: 11.98 kB / 0.7911 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.2268, allocations: 0 / 0.7911 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.227, allocations: 31.84 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.227, allocations: 4 kB / 0.7912 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.2271, allocations: 25.7 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2272, allocations: 36.2 kB / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2272, allocations: 0 / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2272, allocations: 0 / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2272, allocations: 0 / 0.7912 GB, free: 7.828 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.000405/0.2276, allocations: 331.3 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.2277, allocations: 16.02 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.2277, allocations: 34.56 kB / 0.7916 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2278, allocations: 3.953 kB / 0.7916 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2279, allocations: 163 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.85e-05/0.228, allocations: 37.69 kB / 0.7918 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.228, allocations: 0 / 0.7918 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2282, allocations: 41.67 kB / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2282, allocations: 4 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2282, allocations: 4 kB / 0.7918 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.2283, allocations: 0 / 0.7918 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/0.2283, allocations: 15.94 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.2288, allocations: 334 kB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.2289, allocations: 22.52 kB / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.2289, allocations: 16.84 kB / 0.7922 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/0.229, allocations: 81.11 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2291, allocations: 34.56 kB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.2291, allocations: 0 / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001697/0.2292, allocations: 41.64 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2293, allocations: 59.47 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.2294, allocations: 101.9 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2294, allocations: 25.7 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.2295, allocations: 88.03 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.2295, allocations: 3.906 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.2295, allocations: 0 / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2296, allocations: 318.8 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.2296, allocations: 0 / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.2297, allocations: 17.72 kB / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.2297, allocations: 11.98 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2297, allocations: 0 / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.367e-05/0.2298, allocations: 41.64 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2298, allocations: 11.98 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2298, allocations: 0 / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2298, allocations: 3.953 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.2299, allocations: 8.062 kB / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2299, allocations: 7.938 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.2299, allocations: 4 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.23, allocations: 0 / 0.793 GB, free: 5.707 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 6.808e-05/0.23, allocations: 109.8 kB / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.2301, allocations: 0 / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2302, allocations: 124.9 kB / 0.7933 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/0.2302, allocations: 184.2 kB / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-05/0.2303, allocations: 184.2 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.108e-05/0.2304, allocations: 180.3 kB / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2306, allocations: 405.1 kB / 0.7942 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/0.2307, allocations: 112.9 kB / 0.7943 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.335e-05/0.2308, allocations: 101 kB / 0.7944 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.591e-05/0.2308, allocations: 184.2 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.2309, allocations: 176.3 kB / 0.7947 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-05/0.231, allocations: 180.3 kB / 0.7949 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.344e-05/0.231, allocations: 188.2 kB / 0.7951 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.2312, allocations: 307.8 kB / 0.7954 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.2313, allocations: 182.4 kB / 0.7955 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.2314, allocations: 192.2 kB / 0.7957 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2315, allocations: 105 kB / 0.7958 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.2316, allocations: 180.2 kB / 0.796 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.2316, allocations: 120.8 kB / 0.7961 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.2317, allocations: 83.28 kB / 0.7962 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2317, allocations: 0 / 0.7962 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002625/0.232, allocations: 15.94 kB / 0.7962 GB, free: 2.242 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.000507/0.2325, allocations: 0.8283 MB / 0.797 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.612e-05/0.2326, allocations: 7.938 kB / 0.797 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2326, allocations: 0 / 0.797 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.2326, allocations: 4 kB / 0.797 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2331, allocations: 0.5242 MB / 0.7975 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.2335, allocations: 233.9 kB / 0.7978 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2338, allocations: 0.6731 MB / 0.7984 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.2339, allocations: 11.88 kB / 0.7984 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.2339, allocations: 15.44 kB / 0.7984 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2339, allocations: 0 / 0.7984 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.2444, allocations: 1.177 MB / 0.7996 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.2446, allocations: 196.9 kB / 0.7998 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.887, allocations: 0 / 0.7998 GB, free: 14.57 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: