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.00119/0.00119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001197/0.001197, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.652/1.652, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001427/0.001427, allocations: 72.05 kB / 0.6711 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2181, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002754/0.2209, allocations: 1.474 MB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.2218, allocations: 0.5986 MB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.2219, allocations: 4 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.2219, allocations: 3.938 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.222, allocations: 7.969 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.2223, allocations: 87.66 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.2224, allocations: 23.92 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.2225, allocations: 4 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.2226, allocations: 7.984 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.2226, allocations: 11.94 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2226, allocations: 4 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.2229, allocations: 155.7 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2229, allocations: 8 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.2229, allocations: 3.938 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2231, allocations: 112 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2231, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2232, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2232, allocations: 4 kB / 0.7854 GB, free: 11.3 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.000448/0.2236, allocations: 355.4 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2237, allocations: 12.03 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.2237, allocations: 30.75 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.2241, allocations: 32.89 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2242, allocations: 164.3 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2243, allocations: 4.375 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2243, allocations: 4.375 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.2245, allocations: 62.2 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2245, allocations: 3.938 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2245, allocations: 0 / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2246, allocations: 4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.2248, allocations: 55.88 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.2253, allocations: 280.7 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.2255, allocations: 62.47 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.2256, allocations: 32.89 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2256, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2257, allocations: 34.56 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2257, allocations: 0 / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004625/0.2261, allocations: 117.5 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2262, allocations: 51.41 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.2263, allocations: 102 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2263, allocations: 25.7 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.2263, allocations: 88.08 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2264, allocations: 7.906 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.2264, allocations: 13.7 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2265, allocations: 318.8 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2266, allocations: 27.97 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2268, allocations: 27.97 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.227, allocations: 56.8 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.227, allocations: 3.938 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002738/0.2273, allocations: 89.64 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2273, allocations: 4 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2273, allocations: 192 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2274, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2275, allocations: 11.98 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2275, allocations: 3.984 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.2276, allocations: 24.02 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2276, allocations: 3.984 kB / 0.7874 GB, free: 8.992 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 8.315e-05/0.2277, allocations: 110.4 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.2277, allocations: 7.906 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.2278, allocations: 3.125 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2278, allocations: 0 / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2278, allocations: 4 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2278, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.228, allocations: 173.5 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.228, allocations: 0 / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2281, allocations: 15.97 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2281, allocations: 0 / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.2281, allocations: 0 / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2281, allocations: 0 / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2281, allocations: 0 / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.2285, allocations: 195.4 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2285, allocations: 77.11 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2285, allocations: 0 / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2287, allocations: 11.98 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.2287, allocations: 4.031 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2287, allocations: 0 / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.2287, allocations: 87.27 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2288, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002325/0.229, allocations: 12 kB / 0.7881 GB, free: 8.211 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.0006322/0.2296, allocations: 0.7357 MB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.2299, allocations: 63.95 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2299, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2301, allocations: 27.97 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2304, allocations: 8 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.2309, allocations: 180.2 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2312, allocations: 0.6768 MB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.2313, allocations: 4 kB / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2313, allocations: 11.44 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2313, allocations: 0 / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.2417, allocations: 1.498 MB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.2419, allocations: 218.4 kB / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.937, allocations: 0 / 0.7914 GB, free: 4.789 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)