Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.566/2.566, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 167.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 96.98 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 14.91 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003715/0.229, allocations: 2.468 MB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000446/0.2295, allocations: 331.3 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.2295, allocations: 0 / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.2297, allocations: 3.938 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.2297, allocations: 11.97 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2303, allocations: 128.9 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.2304, allocations: 27.95 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.2304, allocations: 0 / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.2305, allocations: 8 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.2306, allocations: 11.92 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2306, allocations: 0 / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.231, allocations: 95.88 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.231, allocations: 7.984 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.231, allocations: 29.7 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2313, allocations: 60.11 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2313, allocations: 0 / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2313, allocations: 4 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2313, allocations: 0 / 0.9814 GB, free: 25.11 MB / 0.6198 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.0003695/0.2317, allocations: 341.4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2317, allocations: 19.95 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.2318, allocations: 30.56 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.2318, allocations: 7.859 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.232, allocations: 163.1 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.2321, allocations: 33.7 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2321, allocations: 4 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2322, allocations: 45.66 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2323, allocations: 4 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2323, allocations: 0 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.2323, allocations: 3.953 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.779e-05/0.2324, allocations: 19.92 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.233, allocations: 0.5639 MB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.233, allocations: 22.58 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.2332, allocations: 332.5 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2333, allocations: 34.52 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.565e-06/0.2333, allocations: 4 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000174/0.2335, allocations: 37.64 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2335, allocations: 51.41 kB / 0.983 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.2336, allocations: 109.9 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2336, allocations: 29.7 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.2337, allocations: 87.98 kB / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.2337, allocations: 7.844 kB / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2337, allocations: 0 / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.2338, allocations: 322.8 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.2338, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.2339, allocations: 13.72 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.2339, allocations: 8 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2339, allocations: 0 / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001021/0.234, allocations: 49.62 kB / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2341, allocations: 8 kB / 0.9836 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2341, allocations: 3.953 kB / 0.9836 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.2341, allocations: 0 / 0.9836 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.2342, allocations: 7.984 kB / 0.9836 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2342, allocations: 4 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.2343, allocations: 4 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2343, allocations: 4.062 kB / 0.9837 GB, free: 22.39 MB / 0.6198 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 7.549e-05/0.2344, allocations: 113.8 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2344, allocations: 3.938 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.2345, allocations: 117 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.2346, allocations: 184.2 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/0.2346, allocations: 180.2 kB / 0.9842 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.2347, allocations: 184.3 kB / 0.9844 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2349, allocations: 405.2 kB / 0.9848 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.2349, allocations: 105 kB / 0.9849 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.2349, allocations: 101 kB / 0.985 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.001e-05/0.235, allocations: 188.2 kB / 0.9852 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.235, allocations: 180.3 kB / 0.9853 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.43e-05/0.2351, allocations: 184.2 kB / 0.9855 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.368e-05/0.2351, allocations: 180.2 kB / 0.9857 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.2352, allocations: 311.7 kB / 0.986 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.2353, allocations: 186.1 kB / 0.9862 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.2354, allocations: 184.2 kB / 0.9863 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.2356, allocations: 109 kB / 0.9864 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2357, allocations: 184.4 kB / 0.9866 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2357, allocations: 101 kB / 0.9867 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.2358, allocations: 87.27 kB / 0.9868 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2358, allocations: 11.94 kB / 0.9868 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004014/0.2362, allocations: 28 kB / 0.9868 GB, free: 18.92 MB / 0.6198 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.0004637/0.2367, allocations: 0.8695 MB / 0.9877 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2368, allocations: 8.328 kB / 0.9877 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2368, allocations: 0 / 0.9877 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.2368, allocations: 0 / 0.9877 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.2372, allocations: 0.5303 MB / 0.9882 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.2377, allocations: 245.6 kB / 0.9884 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2378, allocations: 0.677 MB / 0.9891 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.2379, allocations: 8 kB / 0.9891 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.238, allocations: 7.438 kB / 0.9891 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.935e-06/0.238, allocations: 0 / 0.9891 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.2639, allocations: 1.863 MB / 0.9909 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/0.2644, allocations: 230.7 kB / 0.9912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/2.698, allocations: 0 / 0.9912 GB, free: 14.62 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)