Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.008247/0.008247, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001878/0.001878, allocations: 198.2 kB / 16.67 MB, free: 5.977 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7783/0.7783, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 79.42 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002539/0.1759, allocations: 1.277 MB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.3492, allocations: 147.7 MB / 0.8046 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.3493, allocations: 0 / 0.8046 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.3494, allocations: 3.984 kB / 0.8046 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.3495, allocations: 7.922 kB / 0.8046 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.3502, allocations: 119.4 kB / 0.8048 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.3503, allocations: 15.88 kB / 0.8048 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.413e-05/0.3504, allocations: 4 kB / 0.8048 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.283e-05/0.3504, allocations: 4 kB / 0.8048 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.3505, allocations: 15.92 kB / 0.8048 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3505, allocations: 4 kB / 0.8048 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.351, allocations: 167.7 kB / 0.805 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.351, allocations: 0 / 0.805 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.3511, allocations: 11.94 kB / 0.805 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.3514, allocations: 115.2 kB / 0.8051 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3514, allocations: 0 / 0.8051 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3514, allocations: 0 / 0.8051 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3514, allocations: 0 / 0.8051 GB, free: 7.996 MB / 0.6387 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.0004339/0.3519, allocations: 355.7 kB / 0.8054 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3519, allocations: 8.031 kB / 0.8054 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.352, allocations: 30.75 kB / 0.8055 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006182/0.3526, allocations: 40.8 kB / 0.8055 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3527, allocations: 172.1 kB / 0.8057 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3528, allocations: 7.938 kB / 0.8057 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3528, allocations: 7.984 kB / 0.8057 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.353, allocations: 45.66 kB / 0.8057 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.353, allocations: 0 / 0.8057 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.353, allocations: 0 / 0.8057 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.353, allocations: 4 kB / 0.8057 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3531, allocations: 15.98 kB / 0.8057 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3535, allocations: 252.9 kB / 0.806 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.3536, allocations: 30.5 kB / 0.806 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.3536, allocations: 8.922 kB / 0.806 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.3537, allocations: 0 / 0.806 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3537, allocations: 30.56 kB / 0.806 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 2.414e-06/0.3537, allocations: 4 kB / 0.806 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.3539, allocations: 49.58 kB / 0.8061 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3539, allocations: 55.39 kB / 0.8061 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3541, allocations: 113.8 kB / 0.8063 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3541, allocations: 25.7 kB / 0.8063 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.3542, allocations: 88.05 kB / 0.8064 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.3542, allocations: 3.906 kB / 0.8064 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.3542, allocations: 21.83 kB / 0.8064 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3544, allocations: 318.8 kB / 0.8067 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.3544, allocations: 8 kB / 0.8067 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.3545, allocations: 7.984 kB / 0.8067 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.3546, allocations: 24.84 kB / 0.8067 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3546, allocations: 0 / 0.8067 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002014/0.3548, allocations: 61.61 kB / 0.8068 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3548, allocations: 8 kB / 0.8068 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3548, allocations: 0 / 0.8068 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3548, allocations: 0 / 0.8068 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.355, allocations: 15.98 kB / 0.8068 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.355, allocations: 0 / 0.8068 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3552, allocations: 15.86 kB / 0.8068 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3552, allocations: 4 kB / 0.8068 GB, free: 5.965 MB / 0.6387 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 (3): * Single equations (assignments): 3 * 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 0.0001105/0.3553, allocations: 113.8 kB / 0.8069 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.3553, allocations: 3.984 kB / 0.8069 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.3554, allocations: 3.125 kB / 0.8069 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3554, allocations: 0 / 0.8069 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3554, allocations: 4 kB / 0.807 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3554, allocations: 4.266 kB / 0.807 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3556, allocations: 149.7 kB / 0.8071 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3556, allocations: 4 kB / 0.8071 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.3556, allocations: 4 kB / 0.8071 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.3557, allocations: 7.922 kB / 0.8071 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3557, allocations: 4 kB / 0.8071 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3557, allocations: 0 / 0.8071 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3557, allocations: 0 / 0.8071 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3559, allocations: 143.3 kB / 0.8073 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.356, allocations: 77.11 kB / 0.8073 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.356, allocations: 4.031 kB / 0.8073 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3561, allocations: 11.92 kB / 0.8073 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3561, allocations: 3.938 kB / 0.8073 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.3562, allocations: 4 kB / 0.8074 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001027/0.3563, allocations: 91.27 kB / 0.8074 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3563, allocations: 0 / 0.8074 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002763/0.3566, allocations: 12 kB / 0.8075 GB, free: 5.234 MB / 0.6387 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.0006657/0.3572, allocations: 0.6851 MB / 0.8081 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.3574, allocations: 19.97 kB / 0.8081 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3574, allocations: 0 / 0.8081 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.3575, allocations: 8 kB / 0.8081 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3579, allocations: 12.03 kB / 0.8082 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.3585, allocations: 156.7 kB / 0.8083 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3589, allocations: 0.6768 MB / 0.809 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.359, allocations: 8 kB / 0.809 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.3591, allocations: 7.438 kB / 0.809 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.3591, allocations: 0 / 0.809 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3786, allocations: 1.596 MB / 0.8105 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.897, allocations: 7.359 kB / 0.8105 GB, free: 2.117 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)