Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.00141, allocations: 178.6 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 96.78 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003302, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.245, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4186, allocations: 132.7 MB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.4189, allocations: 79.95 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005841/0.4248, allocations: 1.768 MB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.238e-06/0.4249, allocations: 0 / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.4249, allocations: 4 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005095/0.4254, allocations: 355.2 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.515e-05/0.4255, allocations: 8.031 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.4256, allocations: 38.55 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.426, allocations: 19.97 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4262, allocations: 171 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.4262, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4262, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.4264, allocations: 53.66 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4264, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4264, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4265, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4266, allocations: 23.97 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.4268, allocations: 165.4 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.427, allocations: 50.53 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.427, allocations: 3.984 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.427, allocations: 34.5 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.427, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002932/0.4273, allocations: 81.64 kB / 1.032 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4274, allocations: 51.41 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.4275, allocations: 89 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4275, allocations: 25.7 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.4275, allocations: 84.14 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.4276, allocations: 3.906 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.4276, allocations: 0 / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4277, allocations: 326.9 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.4278, allocations: 8 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.4278, allocations: 11.98 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.4279, allocations: 11.98 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4279, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001617/0.4281, allocations: 65.64 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4281, allocations: 5.094 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4281, allocations: 0 / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4281, allocations: 0 / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4282, allocations: 15.92 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4283, allocations: 0 / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.4283, allocations: 4 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4284, allocations: 7.984 kB / 1.033 GB, free: 7.297 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.4285, allocations: 117.8 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.4285, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.4285, allocations: 3.125 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4286, allocations: 4 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4286, allocations: 0 / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4286, allocations: 0 / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.4287, allocations: 157.6 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4287, allocations: 0 / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.4288, allocations: 11.98 kB / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4288, allocations: 0 / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4288, allocations: 7.984 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4288, allocations: 3.938 kB / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4289, allocations: 0 / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.4291, allocations: 85.72 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4292, allocations: 89.05 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4292, allocations: 0 / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.4293, allocations: 4 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.4293, allocations: 7.938 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.4293, allocations: 3.984 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.4294, allocations: 79.28 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4294, allocations: 0 / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002782/0.4297, allocations: 16 kB / 1.034 GB, free: 6.621 MB / 0.6823 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 (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.0006086/0.4303, allocations: 0.6396 MB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4305, allocations: 35.94 kB / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4305, allocations: 0 / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.4306, allocations: 15.98 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.4307, allocations: 7.984 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.4312, allocations: 158.4 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.4315, allocations: 0.677 MB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.4316, allocations: 8 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.4316, allocations: 15.42 kB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of SimCode: time 2.445e-06/0.4316, allocations: 3.938 kB / 1.035 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.4427, allocations: 1.351 MB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.443, allocations: 215.2 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.937, allocations: 0 / 1.037 GB, free: 3.559 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)