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.001115/0.001115, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001172/0.001172, allocations: 194.2 kB / 16.25 MB, free: 6.637 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.251/1.251, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.701/1.701, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001961/0.001961, allocations: 69.36 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2099, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005146/0.2151, allocations: 4.05 MB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.2153, allocations: 147.5 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.2153, allocations: 0 / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.2154, allocations: 11.92 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.2155, allocations: 11.98 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.2158, allocations: 63.78 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.2159, allocations: 35.84 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.216, allocations: 3.984 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.216, allocations: 8 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.2161, allocations: 19.91 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2161, allocations: 0 / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2163, allocations: 63.81 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.2163, allocations: 3.984 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.2164, allocations: 19.94 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2165, allocations: 44.11 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2165, allocations: 0 / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2165, allocations: 0 / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2165, allocations: 0 / 0.7873 GB, free: 9.289 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.0003378/0.2168, allocations: 335.5 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2169, allocations: 8.031 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2169, allocations: 38.75 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.217, allocations: 0.9375 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.2171, allocations: 168.4 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.2171, allocations: 30.27 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2171, allocations: 4.125 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.2173, allocations: 45.61 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2173, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2173, allocations: 11.88 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.2173, allocations: 4 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.2174, allocations: 11.98 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.2177, allocations: 337.9 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.372e-05/0.2178, allocations: 18.61 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.2178, allocations: 8.922 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/0.2179, allocations: 81.11 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2179, allocations: 38.5 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2179, allocations: 0 / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.218, allocations: 41.69 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2181, allocations: 51.41 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.2181, allocations: 101.8 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2182, allocations: 29.7 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.2182, allocations: 84.12 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/0.2182, allocations: 3.906 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.2182, allocations: 17.72 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.2183, allocations: 318.9 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.2184, allocations: 7.984 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.2184, allocations: 21.66 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.2184, allocations: 17.72 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2184, allocations: 0 / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.04e-05/0.2185, allocations: 49.62 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2185, allocations: 8.062 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.2185, allocations: 0 / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.2185, allocations: 4 kB / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.2186, allocations: 4 kB / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2186, allocations: 3.984 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.2186, allocations: 0 / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2186, allocations: 4 kB / 0.7892 GB, free: 7.133 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 6.089e-05/0.2187, allocations: 116.6 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2187, allocations: 7.906 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.2188, allocations: 124.9 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-05/0.2189, allocations: 180.3 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/0.2189, allocations: 184.2 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.565e-05/0.219, allocations: 180.2 kB / 0.7899 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2192, allocations: 413.2 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/0.2192, allocations: 108.9 kB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.2192, allocations: 101 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.007e-05/0.2193, allocations: 188.2 kB / 0.7907 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.2193, allocations: 176.5 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.491e-05/0.2194, allocations: 176.3 kB / 0.791 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.485e-05/0.2194, allocations: 184.2 kB / 0.7912 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.2196, allocations: 315.6 kB / 0.7915 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.2196, allocations: 186.1 kB / 0.7917 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.2197, allocations: 176.5 kB / 0.7918 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2198, allocations: 116.9 kB / 0.792 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.2199, allocations: 188.3 kB / 0.7921 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2199, allocations: 104.9 kB / 0.7922 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.22, allocations: 83.28 kB / 0.7923 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.22, allocations: 0 / 0.7923 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000237/0.2202, allocations: 31.86 kB / 0.7923 GB, free: 3.645 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.0004026/0.2206, allocations: 0.8205 MB / 0.7931 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.13e-05/0.2207, allocations: 15.94 kB / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2207, allocations: 0 / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2207, allocations: 0 / 0.7932 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.221, allocations: 463.8 kB / 0.7936 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.2219, allocations: 1.324 MB / 0.7949 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.2221, allocations: 0.6729 MB / 0.7956 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.2221, allocations: 11.98 kB / 0.7956 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.2222, allocations: 7.438 kB / 0.7956 GB, free: 200 kB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2222, allocations: 0 / 0.7956 GB, free: 200 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.3308, allocations: 1.363 MB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.331, allocations: 212.4 kB / 0.7971 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.213, allocations: 7.578 kB / 0.7971 GB, free: 14.7 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/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)