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.006798/0.006798, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001644/0.001644, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8035/0.8035, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 69.02 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1725, allocations: 80.2 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002328/0.1749, allocations: 1.274 MB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1878/0.3627, allocations: 147.6 MB / 0.8046 GB, free: 8.543 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.3628, allocations: 0 / 0.8046 GB, free: 8.543 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3629, allocations: 7.938 kB / 0.8046 GB, free: 8.535 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.363, allocations: 11.91 kB / 0.8047 GB, free: 8.523 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.3636, allocations: 111.5 kB / 0.8048 GB, free: 8.414 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.3637, allocations: 27.86 kB / 0.8048 GB, free: 8.387 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.3638, allocations: 0 / 0.8048 GB, free: 8.387 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.3639, allocations: 4 kB / 0.8048 GB, free: 8.383 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.3639, allocations: 7.938 kB / 0.8048 GB, free: 8.375 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3639, allocations: 0 / 0.8048 GB, free: 8.375 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.3646, allocations: 179.7 kB / 0.805 GB, free: 8.199 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.3646, allocations: 7.969 kB / 0.805 GB, free: 8.191 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3647, allocations: 7.938 kB / 0.805 GB, free: 8.184 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.365, allocations: 115.9 kB / 0.8051 GB, free: 8.07 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.365, allocations: 3.984 kB / 0.8051 GB, free: 8.066 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.325e-06/0.365, allocations: 0 / 0.8051 GB, free: 8.066 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.365, allocations: 0 / 0.8051 GB, free: 8.066 MB / 0.6388 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.0005011/0.3656, allocations: 347.2 kB / 0.8054 GB, free: 7.68 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.3656, allocations: 12.03 kB / 0.8054 GB, free: 7.668 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.3657, allocations: 34.75 kB / 0.8055 GB, free: 7.625 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.3663, allocations: 32.89 kB / 0.8055 GB, free: 7.594 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3665, allocations: 172.1 kB / 0.8057 GB, free: 7.387 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3665, allocations: 0 / 0.8057 GB, free: 7.387 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3666, allocations: 3.938 kB / 0.8057 GB, free: 7.383 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3668, allocations: 61.58 kB / 0.8057 GB, free: 7.316 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3668, allocations: 0 / 0.8057 GB, free: 7.316 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3668, allocations: 0 / 0.8057 GB, free: 7.316 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3669, allocations: 0 / 0.8057 GB, free: 7.316 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.367, allocations: 19.97 kB / 0.8057 GB, free: 7.297 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.3675, allocations: 252.9 kB / 0.806 GB, free: 7 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.3676, allocations: 26.58 kB / 0.806 GB, free: 6.965 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.3676, allocations: 16.91 kB / 0.806 GB, free: 6.945 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.3677, allocations: 0 / 0.806 GB, free: 6.945 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3677, allocations: 34.5 kB / 0.8061 GB, free: 6.902 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3677, allocations: 3.938 kB / 0.8061 GB, free: 6.898 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.3679, allocations: 41.7 kB / 0.8061 GB, free: 6.852 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.368, allocations: 55.53 kB / 0.8062 GB, free: 6.785 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3682, allocations: 113.8 kB / 0.8063 GB, free: 6.664 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3682, allocations: 25.7 kB / 0.8063 GB, free: 6.633 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.3683, allocations: 88.12 kB / 0.8064 GB, free: 6.543 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.3683, allocations: 3.953 kB / 0.8064 GB, free: 6.539 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.3684, allocations: 25.66 kB / 0.8064 GB, free: 6.508 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3685, allocations: 310.8 kB / 0.8067 GB, free: 6.195 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.3686, allocations: 19.98 kB / 0.8067 GB, free: 6.176 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.3687, allocations: 11.92 kB / 0.8067 GB, free: 6.164 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.825e-05/0.3688, allocations: 24.84 kB / 0.8068 GB, free: 6.137 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3688, allocations: 0 / 0.8068 GB, free: 6.137 MB / 0.6388 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002097/0.369, allocations: 53.67 kB / 0.8068 GB, free: 6.078 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.369, allocations: 8 kB / 0.8068 GB, free: 6.07 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3691, allocations: 4 kB / 0.8068 GB, free: 6.066 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3691, allocations: 0 / 0.8068 GB, free: 6.066 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3692, allocations: 7.984 kB / 0.8068 GB, free: 6.059 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3692, allocations: 0 / 0.8068 GB, free: 6.059 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3693, allocations: 15.92 kB / 0.8068 GB, free: 6.043 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3694, allocations: 0 / 0.8068 GB, free: 6.043 MB / 0.6388 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 8.983e-05/0.3695, allocations: 109.8 kB / 0.8069 GB, free: 5.926 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3695, allocations: 8 kB / 0.807 GB, free: 5.918 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3695, allocations: 7.125 kB / 0.807 GB, free: 5.906 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3695, allocations: 0 / 0.807 GB, free: 5.906 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3695, allocations: 0 / 0.807 GB, free: 5.906 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3696, allocations: 7.922 kB / 0.807 GB, free: 5.898 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.3697, allocations: 149.7 kB / 0.8071 GB, free: 5.703 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3697, allocations: 0 / 0.8071 GB, free: 5.703 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.3698, allocations: 4 kB / 0.8071 GB, free: 5.699 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3698, allocations: 4.328 kB / 0.8071 GB, free: 5.695 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3698, allocations: 3.938 kB / 0.8071 GB, free: 5.691 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3698, allocations: 4 kB / 0.8071 GB, free: 5.688 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3698, allocations: 0 / 0.8071 GB, free: 5.688 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.37, allocations: 147.4 kB / 0.8073 GB, free: 5.527 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.37, allocations: 81.09 kB / 0.8073 GB, free: 5.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3701, allocations: 3.938 kB / 0.8073 GB, free: 5.426 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.3702, allocations: 4 kB / 0.8074 GB, free: 5.422 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.3702, allocations: 7.875 kB / 0.8074 GB, free: 5.414 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3702, allocations: 4.031 kB / 0.8074 GB, free: 5.41 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3703, allocations: 91.27 kB / 0.8075 GB, free: 5.32 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 0.8075 GB, free: 5.32 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0002547/0.3706, allocations: 19.92 kB / 0.8075 GB, free: 5.301 MB / 0.6388 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.0005724/0.3712, allocations: 0.6734 MB / 0.8081 GB, free: 4.602 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.3713, allocations: 27.92 kB / 0.8082 GB, free: 4.574 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3714, allocations: 0 / 0.8082 GB, free: 4.574 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.3714, allocations: 4 kB / 0.8082 GB, free: 4.57 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3718, allocations: 20.56 kB / 0.8082 GB, free: 4.555 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.3723, allocations: 148.9 kB / 0.8083 GB, free: 4.371 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3727, allocations: 0.6729 MB / 0.809 GB, free: 3.672 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.3728, allocations: 8 kB / 0.809 GB, free: 3.664 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.3728, allocations: 11.42 kB / 0.809 GB, free: 3.652 MB / 0.6388 GB Notification: Performance of SimCode: time 3.51e-07/0.3728, allocations: 4 kB / 0.809 GB, free: 3.648 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3936, allocations: 1.574 MB / 0.8105 GB, free: 2.215 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.446, allocations: 18.92 kB / 0.8106 GB, free: 2.203 MB / 0.6388 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)