Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_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.0008724/0.0008726, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008726/0.0008727, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.074/1.074, allocations: 135.3 MB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 8 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 82.32 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004439/0.2284, allocations: 2.872 MB / 0.5903 GB, free: 8 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.2286, allocations: 51.84 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.2286, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.2288, allocations: 11.92 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2289, allocations: 11.92 kB / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.2296, allocations: 132.8 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2297, allocations: 51.81 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.2297, allocations: 8 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.2298, allocations: 15.92 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.2299, allocations: 11.98 kB / 0.5906 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2299, allocations: 0 / 0.5906 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.2302, allocations: 91.73 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.2303, allocations: 7.938 kB / 0.5907 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.2303, allocations: 25.7 kB / 0.5907 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.2306, allocations: 64.16 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2306, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.486e-06/0.2306, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2306, allocations: 7.938 kB / 0.5907 GB, free: 15.52 MB / 0.4981 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.0005174/0.2311, allocations: 343.2 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2312, allocations: 12.03 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/0.2313, allocations: 34.55 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.2313, allocations: 3.953 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2315, allocations: 163.1 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.2316, allocations: 29.64 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2316, allocations: 3.984 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2318, allocations: 57.61 kB / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2318, allocations: 0 / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2318, allocations: 0 / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.2318, allocations: 0 / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.2319, allocations: 19.94 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.2326, allocations: 0.5717 MB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.2327, allocations: 18.56 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.2327, allocations: 16.86 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.233, allocations: 344.4 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.233, allocations: 30.56 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.233, allocations: 4 kB / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.2332, allocations: 37.64 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2333, allocations: 51.41 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2334, allocations: 105.9 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2334, allocations: 29.7 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.2334, allocations: 88.12 kB / 0.5926 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.2335, allocations: 3.906 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.2335, allocations: 0 / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2336, allocations: 314.8 kB / 0.5929 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.2336, allocations: 3.938 kB / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.2337, allocations: 17.72 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.2337, allocations: 11.98 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2337, allocations: 0 / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.769e-05/0.2338, allocations: 45.64 kB / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2338, allocations: 11.98 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2338, allocations: 0 / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2338, allocations: 3.953 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.2339, allocations: 4 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2339, allocations: 7.938 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.2339, allocations: 3.938 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.234, allocations: 4.062 kB / 0.5931 GB, free: 12.77 MB / 0.4981 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 9.535e-05/0.2341, allocations: 109.8 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2341, allocations: 0 / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.2342, allocations: 128.8 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.29e-05/0.2343, allocations: 180.2 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.585e-05/0.2344, allocations: 184.2 kB / 0.5936 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-05/0.2345, allocations: 192.2 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.2347, allocations: 397.2 kB / 0.5942 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/0.2348, allocations: 112.9 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.2348, allocations: 101 kB / 0.5944 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/0.2349, allocations: 176.3 kB / 0.5946 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.235, allocations: 188.2 kB / 0.5947 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.665e-05/0.2351, allocations: 184.3 kB / 0.5949 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001282/0.2353, allocations: 184.2 kB / 0.5951 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.2355, allocations: 304.1 kB / 0.5954 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.2356, allocations: 190 kB / 0.5956 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.2357, allocations: 180.5 kB / 0.5957 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2359, allocations: 108.9 kB / 0.5958 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.236, allocations: 188.3 kB / 0.596 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.2361, allocations: 105 kB / 0.5961 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.2362, allocations: 87.23 kB / 0.5962 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.908e-06/0.2362, allocations: 4 kB / 0.5962 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003236/0.2365, allocations: 35.92 kB / 0.5962 GB, free: 9.285 MB / 0.4981 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.0006185/0.2371, allocations: 0.8556 MB / 0.5971 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.2372, allocations: 4 kB / 0.5971 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.2372, allocations: 3.938 kB / 0.5971 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.2372, allocations: 4 kB / 0.5971 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.2378, allocations: 0.5264 MB / 0.5976 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.2382, allocations: 240.3 kB / 0.5978 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.2385, allocations: 0.677 MB / 0.5985 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.947e-05/0.2386, allocations: 8 kB / 0.5985 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.2386, allocations: 7.438 kB / 0.5985 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2386, allocations: 0 / 0.5985 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.2569, allocations: 1.89 MB / 0.6004 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.2573, allocations: 244.2 kB / 0.6006 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.022, allocations: 2.344 kB / 0.6006 GB, free: 4.957 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: