Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0007529/0.0007533, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005274/0.005274, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.777 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.691/1.691, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005902/0.0005905, allocations: 13.28 kB / 0.6744 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2223, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001504/0.2238, allocations: 1.136 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.2243, allocations: 205.4 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.2243, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.2243, allocations: 7.875 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.2244, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.2246, allocations: 23.91 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.2246, allocations: 23.92 kB / 0.7894 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.2247, allocations: 11.98 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.2248, allocations: 4 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.2248, allocations: 7.922 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2248, allocations: 4 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.2249, allocations: 23.98 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2249, allocations: 4 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.225, allocations: 33.64 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2251, allocations: 44.09 kB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2251, allocations: 0 / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2251, allocations: 4 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2251, allocations: 0 / 0.7895 GB, free: 9.945 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.0004066/0.2255, allocations: 339.5 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2255, allocations: 8.031 kB / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.2256, allocations: 34.75 kB / 0.7898 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.2257, allocations: 8.875 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2258, allocations: 168.3 kB / 0.79 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2258, allocations: 8.359 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2258, allocations: 4.375 kB / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.226, allocations: 50.23 kB / 0.7901 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.226, allocations: 3.938 kB / 0.7901 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.226, allocations: 4 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.226, allocations: 8 kB / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.2262, allocations: 43.91 kB / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.2266, allocations: 252.8 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2267, allocations: 46.5 kB / 0.7904 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.2268, allocations: 24.91 kB / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2268, allocations: 0 / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2269, allocations: 34.56 kB / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2269, allocations: 0 / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.2272, allocations: 105.7 kB / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.2273, allocations: 51.41 kB / 0.7906 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.2274, allocations: 101.8 kB / 0.7907 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2274, allocations: 25.7 kB / 0.7907 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.2274, allocations: 80.14 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2274, allocations: 7.906 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2275, allocations: 13.72 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2276, allocations: 314.8 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.2277, allocations: 24.02 kB / 0.7912 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.2278, allocations: 23.92 kB / 0.7912 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2279, allocations: 52.88 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2279, allocations: 3.938 kB / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002004/0.2281, allocations: 77.61 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2282, allocations: 8.031 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2282, allocations: 0 / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2282, allocations: 3.984 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.2283, allocations: 8 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2283, allocations: 0 / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.2283, allocations: 11.98 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.2284, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.423e-05/0.2284, allocations: 118.4 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.2285, allocations: 4 kB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.2287, allocations: 88.7 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2287, allocations: 4.234 kB / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2287, allocations: 0 / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2287, allocations: 7.984 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2289, allocations: 169.5 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2289, allocations: 0 / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.229, allocations: 8 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.229, allocations: 4 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.229, allocations: 0 / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.229, allocations: 3.984 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.229, allocations: 0 / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.2293, allocations: 179.5 kB / 0.7919 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.2293, allocations: 77.11 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2293, allocations: 3.938 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.2294, allocations: 19.98 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.2295, allocations: 3.938 kB / 0.792 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2295, allocations: 0 / 0.792 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.2295, allocations: 79.28 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2295, allocations: 0 / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002089/0.2297, allocations: 4 kB / 0.7921 GB, free: 6.938 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 (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 Backend phase and start with SimCode phase: time 0.0004857/0.2302, allocations: 0.7163 MB / 0.7928 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.2304, allocations: 51.95 kB / 0.7928 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2305, allocations: 3.938 kB / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2306, allocations: 27.92 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2308, allocations: 7.938 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2313, allocations: 166.2 kB / 0.793 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2316, allocations: 0.677 MB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.2316, allocations: 0 / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.2317, allocations: 15.44 kB / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2317, allocations: 4 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.2429, allocations: 1.109 MB / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2431, allocations: 217.7 kB / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.873, allocations: 0 / 0.795 GB, free: 3.984 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)