Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 191 kB / 16.14 MB, free: 6.707 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.504/1.504, allocations: 205.1 MB / 222 MB, free: 4.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.636/1.636, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.00138/0.00138, allocations: 66.47 kB / 0.6709 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003118/0.2306, allocations: 1.475 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.2316, allocations: 0.6181 MB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.2317, allocations: 0 / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.2317, allocations: 0 / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.2318, allocations: 7.938 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.2321, allocations: 83.64 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.2322, allocations: 19.92 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.2323, allocations: 7.984 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.2323, allocations: 15.94 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.2324, allocations: 7.984 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2324, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.2327, allocations: 151.7 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.2327, allocations: 11.92 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.2327, allocations: 3.984 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2329, allocations: 100 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.233, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.233, allocations: 4 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.233, allocations: 0 / 0.7852 GB, free: 11.42 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.0004943/0.2335, allocations: 355.4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2335, allocations: 12.03 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.2336, allocations: 34.73 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.234, allocations: 28.84 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2342, allocations: 168.3 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2342, allocations: 384 / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2342, allocations: 8.375 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.2344, allocations: 70.19 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.2345, allocations: 3.938 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2345, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2345, allocations: 0 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.2348, allocations: 55.94 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.2352, allocations: 272.8 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2355, allocations: 62.41 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2356, allocations: 36.89 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2356, allocations: 0 / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2357, allocations: 30.56 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2357, allocations: 0 / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005035/0.2362, allocations: 121.5 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2362, allocations: 59.34 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.2363, allocations: 93.86 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2363, allocations: 25.7 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.2364, allocations: 92.12 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.2364, allocations: 4.031 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.2364, allocations: 13.72 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2366, allocations: 322.8 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2367, allocations: 19.98 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.2368, allocations: 27.97 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.2371, allocations: 60.86 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2371, allocations: 3.938 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002839/0.2374, allocations: 85.61 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2374, allocations: 8 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2374, allocations: 3.984 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2374, allocations: 0 / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2375, allocations: 11.98 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2376, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.2377, allocations: 11.98 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2377, allocations: 3.938 kB / 0.7872 GB, free: 9.121 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.418e-05/0.2378, allocations: 118.4 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2378, allocations: 7.906 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.2378, allocations: 7.109 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2378, allocations: 4 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2379, allocations: 0 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2379, allocations: 0 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.238, allocations: 173.6 kB / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.238, allocations: 0 / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2382, allocations: 15.98 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2382, allocations: 0 / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2382, allocations: 3.984 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2382, allocations: 0 / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2382, allocations: 4 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.2385, allocations: 187.6 kB / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.2386, allocations: 81.09 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2386, allocations: 3.984 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.2387, allocations: 8 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.2388, allocations: 3.984 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2388, allocations: 0 / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.2388, allocations: 87.22 kB / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2388, allocations: 32 / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002417/0.2391, allocations: 20 kB / 0.7879 GB, free: 8.316 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 (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 Backend phase and start with SimCode phase: time 0.0006317/0.2397, allocations: 0.7318 MB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.24, allocations: 55.94 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.24, allocations: 0 / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2402, allocations: 32.03 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.2405, allocations: 4 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.241, allocations: 169.9 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2412, allocations: 0.677 MB / 0.7896 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.2413, allocations: 12 kB / 0.7896 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.2414, allocations: 19.42 kB / 0.7896 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2414, allocations: 0 / 0.7896 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.2516, allocations: 1.448 MB / 0.791 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.2519, allocations: 230.2 kB / 0.7912 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.922, allocations: 0 / 0.7912 GB, free: 4.926 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)