Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 152 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.001344/0.001344, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.389/1.389, 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.7671/0.7671, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.55 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5412, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002892/0.5442, allocations: 1.288 MB / 0.5814 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.5452, allocations: 0.5737 MB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.5452, allocations: 0 / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.5453, allocations: 1.984 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.5453, allocations: 9.922 kB / 0.582 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.5458, allocations: 94.72 kB / 0.5821 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.5459, allocations: 16.73 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.5459, allocations: 3.5 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.546, allocations: 12.48 kB / 0.5821 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.5461, allocations: 12.25 kB / 0.5822 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.5461, allocations: 1.094 kB / 0.5822 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.5464, allocations: 137.6 kB / 0.5823 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.5465, allocations: 1.281 kB / 0.5823 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.5465, allocations: 12.45 kB / 0.5823 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.5468, allocations: 92.97 kB / 0.5824 GB, free: 3.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5468, allocations: 1.812 kB / 0.5824 GB, free: 3.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5468, allocations: 0.6562 kB / 0.5824 GB, free: 3.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.5468, allocations: 0 / 0.5824 GB, free: 3.133 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004365/0.5472, allocations: 341.5 kB / 0.5827 GB, free: 2.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5473, allocations: 14.09 kB / 0.5827 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.5473, allocations: 39.39 kB / 0.5828 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.5478, allocations: 26.81 kB / 0.5828 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.5479, allocations: 166.2 kB / 0.5829 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5479, allocations: 1.188 kB / 0.5829 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5479, allocations: 1.031 kB / 0.583 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.5481, allocations: 53.42 kB / 0.583 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5481, allocations: 3.938 kB / 0.583 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5481, allocations: 0 / 0.583 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5481, allocations: 1.25 kB / 0.583 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5482, allocations: 25.91 kB / 0.583 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.5484, allocations: 158.2 kB / 0.5832 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.5486, allocations: 43.48 kB / 0.5832 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.5486, allocations: 19.09 kB / 0.5832 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5487, allocations: 1.188 kB / 0.5832 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5487, allocations: 31.27 kB / 0.5833 GB, free: 2.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5487, allocations: 0.8125 kB / 0.5833 GB, free: 2.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003107/0.549, allocations: 83.67 kB / 0.5834 GB, free: 2.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.549, allocations: 53.19 kB / 0.5834 GB, free: 2.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.5491, allocations: 103.2 kB / 0.5835 GB, free: 1.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.5491, allocations: 25.7 kB / 0.5835 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.5491, allocations: 80.89 kB / 0.5836 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.5492, allocations: 6.094 kB / 0.5836 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.5492, allocations: 15.25 kB / 0.5836 GB, free: 1.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.5493, allocations: 316.7 kB / 0.5839 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.5493, allocations: 8.984 kB / 0.5839 GB, free: 1.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.5494, allocations: 14.2 kB / 0.5839 GB, free: 1.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.5495, allocations: 35.41 kB / 0.584 GB, free: 1.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5496, allocations: 1.375 kB / 0.584 GB, free: 1.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001677/0.5497, allocations: 63.16 kB / 0.584 GB, free: 1.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5497, allocations: 8.469 kB / 0.5841 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5498, allocations: 1.047 kB / 0.5841 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5498, allocations: 4.594 kB / 0.5841 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5499, allocations: 7.688 kB / 0.5841 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5499, allocations: 9.984 kB / 0.5841 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.55, allocations: 2.953 kB / 0.5841 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.55, allocations: 6.406 kB / 0.5841 GB, free: 1.43 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 5.263e-05/0.55, allocations: 109.4 kB / 0.5842 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.5501, allocations: 9.375 kB / 0.5842 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.5501, allocations: 3.781 kB / 0.5842 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5501, allocations: 5.281 kB / 0.5842 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5501, allocations: 0.7031 kB / 0.5842 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5501, allocations: 0.7188 kB / 0.5842 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.592e-05/0.5502, allocations: 153.6 kB / 0.5844 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5502, allocations: 1.547 kB / 0.5844 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.5503, allocations: 12.2 kB / 0.5844 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5503, allocations: 3.938 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5503, allocations: 2.141 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5503, allocations: 0.9375 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5503, allocations: 0 / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.5505, allocations: 85.59 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.5506, allocations: 85.5 kB / 0.5845 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.5506, allocations: 5.906 kB / 0.5845 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.5507, allocations: 3.141 kB / 0.5845 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.5507, allocations: 0.5156 kB / 0.5845 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5507, allocations: 6.766 kB / 0.5846 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.486e-05/0.5507, allocations: 79.02 kB / 0.5846 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5507, allocations: 0 / 0.5846 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.5509, allocations: 10.59 kB / 0.5846 GB, free: 0.8477 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.0004341/0.5514, allocations: 0.6514 MB / 0.5853 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.5516, allocations: 27.73 kB / 0.5853 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5516, allocations: 0 / 0.5853 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.5517, allocations: 17.16 kB / 0.5853 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.5519, allocations: 15.56 kB / 0.5853 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.5524, allocations: 144.5 kB / 0.5855 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.5526, allocations: 0.6742 MB / 0.5861 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.502e-05/0.5527, allocations: 11.83 kB / 0.5861 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.5528, allocations: 16.14 kB / 0.5862 GB, free: 15.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5528, allocations: 0 / 0.5862 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.572, allocations: 1.53 MB / 0.5876 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/8.023, allocations: 15.08 kB / 0.5877 GB, free: 15 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)