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.001521/0.001521, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001617/0.001617, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.432/2.432, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.358/1.358, allocations: 132.3 MB / 423.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005311, allocations: 15.94 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9465/0.9471, allocations: 81.58 MB / 0.583 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002029/0.9492, allocations: 0.9921 MB / 0.5839 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2824/1.232, allocations: 124.8 MB / 0.7058 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/1.232, allocations: 4 kB / 0.7058 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/1.232, allocations: 0 / 0.7058 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/1.232, allocations: 7.984 kB / 0.7058 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/1.232, allocations: 103.7 kB / 0.7059 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/1.233, allocations: 23.91 kB / 0.706 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.248e-05/1.233, allocations: 0 / 0.706 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/1.233, allocations: 11.92 kB / 0.706 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/1.233, allocations: 4 kB / 0.706 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/1.233, allocations: 0 / 0.706 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/1.234, allocations: 183.8 kB / 0.7062 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/1.234, allocations: 4 kB / 0.7062 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/1.234, allocations: 33.64 kB / 0.7062 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/1.234, allocations: 86.05 kB / 0.7063 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.234, allocations: 0 / 0.7063 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.846e-06/1.234, allocations: 0 / 0.7063 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.234, allocations: 0 / 0.7063 GB, free: 1.941 MB / 0.5294 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.0005319/1.235, allocations: 343.3 kB / 0.7066 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.7e-05/1.235, allocations: 12.03 kB / 0.7066 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/1.235, allocations: 42.55 kB / 0.7067 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/1.236, allocations: 35.91 kB / 0.7067 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.236, allocations: 159.1 kB / 0.7068 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.236, allocations: 0 / 0.7068 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/1.236, allocations: 4 kB / 0.7068 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/1.236, allocations: 49.66 kB / 0.7069 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.236, allocations: 4 kB / 0.7069 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/1.236, allocations: 0 / 0.7069 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/1.236, allocations: 0 / 0.7069 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/1.237, allocations: 23.88 kB / 0.7069 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/1.238, allocations: 249 kB / 0.7072 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.633e-05/1.238, allocations: 22.58 kB / 0.7072 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/1.238, allocations: 4.062 kB / 0.7072 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/1.238, allocations: 30.56 kB / 0.7072 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/1.238, allocations: 0 / 0.7072 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003826/1.238, allocations: 49.5 kB / 0.7073 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/1.238, allocations: 59.33 kB / 0.7073 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/1.238, allocations: 114 kB / 0.7074 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/1.239, allocations: 29.7 kB / 0.7075 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/1.239, allocations: 88.02 kB / 0.7075 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.239, allocations: 11.89 kB / 0.7075 GB, free: 436 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/1.239, allocations: 0 / 0.7075 GB, free: 436 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.239, allocations: 310.8 kB / 0.7078 GB, free: 116 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/1.239, allocations: 11.98 kB / 0.7079 GB, free: 104 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/1.239, allocations: 15.98 kB / 0.7079 GB, free: 88 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/1.239, allocations: 7.984 kB / 0.7079 GB, free: 80 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.239, allocations: 0 / 0.7079 GB, free: 80 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003467/1.24, allocations: 61.61 kB / 0.7079 GB, free: 12 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.24, allocations: 4 kB / 0.7079 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.24, allocations: 336 / 0.7079 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/1.24, allocations: 0 / 0.7079 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.24, allocations: 15.98 kB / 0.708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.24, allocations: 4 kB / 0.708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/1.24, allocations: 7.984 kB / 0.708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/1.24, allocations: 4 kB / 0.708 GB, free: 15.97 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.24, allocations: 109.8 kB / 0.7081 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/1.241, allocations: 7.844 kB / 0.7081 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/1.241, allocations: 11.11 kB / 0.7081 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.241, allocations: 0 / 0.7081 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.241, allocations: 7.953 kB / 0.7081 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.241, allocations: 0 / 0.7081 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/1.241, allocations: 153.7 kB / 0.7082 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.241, allocations: 0 / 0.7082 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/1.241, allocations: 4 kB / 0.7083 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.241, allocations: 0 / 0.7083 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/1.241, allocations: 0 / 0.7083 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.241, allocations: 7.938 kB / 0.7083 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.241, allocations: 0 / 0.7083 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/1.241, allocations: 143.5 kB / 0.7084 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.241, allocations: 81.11 kB / 0.7085 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/1.242, allocations: 3.984 kB / 0.7085 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/1.242, allocations: 4 kB / 0.7085 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/1.242, allocations: 0 / 0.7085 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/1.242, allocations: 0 / 0.7085 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000206/1.242, allocations: 91.27 kB / 0.7086 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/1.242, allocations: 7.969 kB / 0.7086 GB, free: 15.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005118/1.243, allocations: 15.95 kB / 0.7086 GB, free: 15.25 MB / 0.545 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.000948/1.244, allocations: 0.6811 MB / 0.7093 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002548/1.244, allocations: 24.02 kB / 0.7093 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.244, allocations: 0 / 0.7093 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/1.244, allocations: 4 kB / 0.7093 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/1.244, allocations: 11.98 kB / 0.7093 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/1.245, allocations: 162.5 kB / 0.7095 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/1.246, allocations: 0.681 MB / 0.7101 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00015/1.246, allocations: 8 kB / 0.7101 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/1.246, allocations: 11.44 kB / 0.7101 GB, free: 13.58 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/1.246, allocations: 0 / 0.7101 GB, free: 13.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/1.266, allocations: 1.359 MB / 0.7115 GB, free: 12.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003881/1.267, allocations: 190.4 kB / 0.7116 GB, free: 12.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.965, allocations: 0 / 0.7116 GB, free: 12.16 MB / 0.545 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/linux/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) Environment - environmentSimulation: