Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_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.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 61.09 kB / 0.5019 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5441, allocations: 80.21 MB / 0.5802 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002858/0.547, allocations: 1.409 MB / 0.5816 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.5479, allocations: 0.5939 MB / 0.5821 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.548, allocations: 0 / 0.5821 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.548, allocations: 4.547 kB / 0.5821 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.5481, allocations: 5.453 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.5485, allocations: 95.52 kB / 0.5822 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.5485, allocations: 25.56 kB / 0.5823 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.5487, allocations: 8.75 kB / 0.5823 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.5487, allocations: 5.094 kB / 0.5823 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.5488, allocations: 18.66 kB / 0.5823 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.5488, allocations: 2.125 kB / 0.5823 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.5491, allocations: 142.9 kB / 0.5824 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.5491, allocations: 5.453 kB / 0.5824 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.5492, allocations: 8.641 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.5494, allocations: 105.7 kB / 0.5826 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5494, allocations: 1.156 kB / 0.5826 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5494, allocations: 0 / 0.5826 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.5494, allocations: 0 / 0.5826 GB, free: 2.996 MB / 430.1 MB 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.0004445/0.5499, allocations: 365.8 kB / 0.5829 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5499, allocations: 9.719 kB / 0.5829 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.55, allocations: 31.53 kB / 0.5829 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.5504, allocations: 27.23 kB / 0.583 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.5505, allocations: 166.8 kB / 0.5831 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.5505, allocations: 5.25 kB / 0.5831 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5506, allocations: 6.078 kB / 0.5831 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.5508, allocations: 66.8 kB / 0.5832 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5508, allocations: 7.875 kB / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5509, allocations: 1 kB / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5509, allocations: 3.938 kB / 0.5832 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.5512, allocations: 59.81 kB / 0.5833 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.5516, allocations: 271.4 kB / 0.5835 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.5518, allocations: 59.17 kB / 0.5836 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.552, allocations: 34.88 kB / 0.5836 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.552, allocations: 6.031 kB / 0.5836 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.552, allocations: 40.09 kB / 0.5837 GB, free: 1.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.552, allocations: 0 / 0.5837 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005277/0.5526, allocations: 115.3 kB / 0.5838 GB, free: 1.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.5526, allocations: 52.62 kB / 0.5838 GB, free: 1.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.5527, allocations: 97.25 kB / 0.5839 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5527, allocations: 26.73 kB / 0.5839 GB, free: 1.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.5527, allocations: 86.39 kB / 0.584 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.5528, allocations: 4.656 kB / 0.584 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.5528, allocations: 19.56 kB / 0.584 GB, free: 1.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.5529, allocations: 316.5 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.553, allocations: 25.27 kB / 0.5844 GB, free: 1.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.5531, allocations: 29.62 kB / 0.5844 GB, free: 1.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.5534, allocations: 58.5 kB / 0.5845 GB, free: 1.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5534, allocations: 3.938 kB / 0.5845 GB, free: 1.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002986/0.5537, allocations: 83.67 kB / 0.5845 GB, free: 1.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5537, allocations: 10.83 kB / 0.5845 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5538, allocations: 0 / 0.5845 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5538, allocations: 0 / 0.5845 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.5539, allocations: 13.94 kB / 0.5846 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5539, allocations: 1.188 kB / 0.5846 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.554, allocations: 11.25 kB / 0.5846 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.554, allocations: 2.594 kB / 0.5846 GB, free: 1.172 MB / 430.1 MB 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 6.395e-05/0.5541, allocations: 120.7 kB / 0.5847 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.5541, allocations: 5.156 kB / 0.5847 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.5542, allocations: 5.219 kB / 0.5847 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5542, allocations: 0 / 0.5847 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5542, allocations: 1.562 kB / 0.5847 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5542, allocations: 0 / 0.5847 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.5544, allocations: 172.6 kB / 0.5849 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5544, allocations: 0.9688 kB / 0.5849 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5545, allocations: 17.05 kB / 0.5849 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.5545, allocations: 1 kB / 0.5849 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5545, allocations: 4.781 kB / 0.5849 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5545, allocations: 1.5 kB / 0.5849 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5545, allocations: 0.7812 kB / 0.5849 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.5549, allocations: 187.6 kB / 0.5851 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.5549, allocations: 81.89 kB / 0.5851 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.555, allocations: 1.219 kB / 0.5852 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5551, allocations: 7.969 kB / 0.5852 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5551, allocations: 7.328 kB / 0.5852 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.5552, allocations: 1.469 kB / 0.5852 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.5552, allocations: 84.48 kB / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5552, allocations: 0 / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.5555, allocations: 19.3 kB / 0.5853 GB, free: 0.4922 MB / 430.1 MB 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.0006845/0.5562, allocations: 0.7297 MB / 0.586 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.5566, allocations: 60.81 kB / 0.586 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5566, allocations: 0 / 0.586 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.5567, allocations: 32.11 kB / 0.5861 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.5571, allocations: 6.5 kB / 0.5861 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.5578, allocations: 158.2 kB / 0.5862 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5581, allocations: 0.6765 MB / 0.5869 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.379e-05/0.5582, allocations: 15.59 kB / 0.5869 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.5583, allocations: 12.34 kB / 0.5869 GB, free: 14.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5583, allocations: 0 / 0.5869 GB, free: 14.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.578, allocations: 1.618 MB / 0.5885 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/8.022, allocations: 12.12 kB / 0.5885 GB, free: 14.57 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)