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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9327/0.9327, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000839/0.0008391, allocations: 88.67 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.847e-05, allocations: 2.594 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.543/4.725, allocations: 1.676 GB / 2.316 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/4.725, allocations: 87.25 kB / 2.316 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05283/4.778, allocations: 26.7 MB / 2.343 GB, free: 198 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/4.778, allocations: 0 / 2.343 GB, free: 198 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.183e-06/4.778, allocations: 0 / 2.343 GB, free: 198 MB / 0.6823 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.0003058/4.778, allocations: 354.4 kB / 2.343 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/4.778, allocations: 11.78 kB / 2.343 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/4.779, allocations: 34.52 kB / 2.343 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/4.779, allocations: 35.39 kB / 2.343 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/4.779, allocations: 171 kB / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/4.779, allocations: 0 / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/4.779, allocations: 3.906 kB / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/4.779, allocations: 40.83 kB / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/4.779, allocations: 0 / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/4.779, allocations: 3.984 kB / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/4.779, allocations: 3.953 kB / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/4.779, allocations: 11.47 kB / 2.343 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/4.78, allocations: 256.3 kB / 2.343 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/4.78, allocations: 26.11 kB / 2.343 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/4.78, allocations: 8.766 kB / 2.343 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/4.78, allocations: 0 / 2.343 GB, free: 197 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/4.78, allocations: 37.7 kB / 2.344 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/4.78, allocations: 3.906 kB / 2.344 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001232/4.78, allocations: 33.61 kB / 2.344 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/4.78, allocations: 59.25 kB / 2.344 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/4.78, allocations: 107.9 kB / 2.344 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/4.78, allocations: 25.7 kB / 2.344 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/4.78, allocations: 87.98 kB / 2.344 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/4.78, allocations: 3.906 kB / 2.344 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/4.78, allocations: 0 / 2.344 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/4.78, allocations: 314.3 kB / 2.344 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/4.78, allocations: 11.92 kB / 2.344 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/4.78, allocations: 3.938 kB / 2.344 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/4.78, allocations: 7.812 kB / 2.344 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/4.78, allocations: 3.984 kB / 2.344 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001031/4.78, allocations: 45.06 kB / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/4.78, allocations: 5 kB / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/4.78, allocations: 0 / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/4.78, allocations: 8.219 kB / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/4.781, allocations: 7.859 kB / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/4.781, allocations: 0 / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/4.781, allocations: 19.73 kB / 2.344 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/4.781, allocations: 3.438 kB / 2.344 GB, free: 196.2 MB / 0.6823 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 () * 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 4.67e-05/4.781, allocations: 101 kB / 2.344 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/4.781, allocations: 7.891 kB / 2.344 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/4.781, allocations: 11.05 kB / 2.344 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/4.781, allocations: 7.953 kB / 2.344 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/4.781, allocations: 0 / 2.344 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/4.781, allocations: 4 kB / 2.344 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/4.781, allocations: 153 kB / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/4.781, allocations: 0 / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/4.781, allocations: 3.906 kB / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/4.781, allocations: 0 / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/4.781, allocations: 0 / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/4.781, allocations: 0 / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.781, allocations: 3.953 kB / 2.344 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/4.781, allocations: 138.8 kB / 2.345 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/4.781, allocations: 88.77 kB / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/4.781, allocations: 7.891 kB / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/4.781, allocations: 0 / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/4.781, allocations: 0 / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/4.781, allocations: 7.859 kB / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.869e-05/4.781, allocations: 82.75 kB / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/4.781, allocations: 0 / 2.345 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003673/4.782, allocations: 53.36 kB / 2.345 GB, free: 195.6 MB / 0.6823 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 () * 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.0008405/4.783, allocations: 1.121 MB / 2.346 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001176/4.783, allocations: 22.98 kB / 2.346 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/4.783, allocations: 4 kB / 2.346 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/4.783, allocations: 3.906 kB / 2.346 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/4.783, allocations: 7.594 kB / 2.346 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/4.783, allocations: 108.3 kB / 2.346 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/4.783, allocations: 0.6844 MB / 2.347 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.858e-05/4.784, allocations: 4.062 kB / 2.347 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/4.784, allocations: 11.22 kB / 2.347 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.7e-07/4.784, allocations: 0 / 2.347 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/4.809, allocations: 12.12 MB / 2.359 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/4.809, allocations: 164.2 kB / 2.359 GB, free: 186 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/6.856, allocations: 3 kB / 2.359 GB, free: 186 MB / 0.6823 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)