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.001225/0.001225, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.779/0.779, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009894, allocations: 103 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.221e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.473, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.067/4.54, allocations: 1.675 GB / 2.309 GB, free: 99.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/4.541, allocations: 83.94 kB / 2.309 GB, free: 99.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08073/4.621, allocations: 26.17 MB / 2.335 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/4.622, allocations: 0 / 2.335 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.114e-06/4.622, allocations: 0 / 2.335 GB, free: 73.2 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.0002963/4.622, allocations: 354.4 kB / 2.335 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/4.622, allocations: 8.031 kB / 2.335 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/4.623, allocations: 39.81 kB / 2.335 GB, free: 72.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/4.623, allocations: 167 kB / 2.335 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/4.623, allocations: 8 kB / 2.335 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/4.623, allocations: 0 / 2.335 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.126e-05/4.623, allocations: 11.88 kB / 2.335 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.785e-05/4.623, allocations: 45.66 kB / 2.335 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/4.623, allocations: 0 / 2.335 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/4.623, allocations: 3.953 kB / 2.335 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/4.623, allocations: 0 / 2.335 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/4.623, allocations: 229.5 kB / 2.336 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/4.623, allocations: 22.52 kB / 2.336 GB, free: 72.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/4.623, allocations: 8.922 kB / 2.336 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/4.624, allocations: 4 kB / 2.336 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/4.624, allocations: 34.66 kB / 2.336 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/4.624, allocations: 0 / 2.336 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/4.624, allocations: 37.66 kB / 2.336 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.766e-05/4.624, allocations: 51.41 kB / 2.336 GB, free: 72.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/4.624, allocations: 105 kB / 2.336 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/4.624, allocations: 25.7 kB / 2.336 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/4.624, allocations: 91.98 kB / 2.336 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/4.624, allocations: 7.906 kB / 2.336 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/4.624, allocations: 0 / 2.336 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/4.624, allocations: 314.8 kB / 2.336 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/4.624, allocations: 15.95 kB / 2.336 GB, free: 71.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/4.624, allocations: 4 kB / 2.336 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/4.624, allocations: 8 kB / 2.336 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/4.624, allocations: 3.984 kB / 2.336 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001422/4.624, allocations: 41.69 kB / 2.336 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/4.624, allocations: 4 kB / 2.336 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/4.624, allocations: 0 / 2.336 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/4.624, allocations: 0 / 2.336 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/4.624, allocations: 11.98 kB / 2.336 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/4.624, allocations: 3.953 kB / 2.336 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/4.625, allocations: 11.98 kB / 2.336 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/4.625, allocations: 4 kB / 2.336 GB, free: 71.36 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 5.183e-05/4.625, allocations: 101 kB / 2.337 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.035e-05/4.625, allocations: 45.62 kB / 2.337 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/4.625, allocations: 0 / 2.337 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/4.625, allocations: 7.75 kB / 2.337 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/4.625, allocations: 3.953 kB / 2.337 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/4.625, allocations: 7.969 kB / 2.337 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/4.625, allocations: 0 / 2.337 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/4.625, allocations: 134.2 kB / 2.337 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/4.625, allocations: 0 / 2.337 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/4.625, allocations: 4 kB / 2.337 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/4.625, allocations: 0 / 2.337 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/4.625, allocations: 3.938 kB / 2.337 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/4.625, allocations: 0 / 2.337 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/4.625, allocations: 0 / 2.337 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/4.625, allocations: 143.4 kB / 2.337 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/4.625, allocations: 89.03 kB / 2.337 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/4.625, allocations: 0 / 2.337 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/4.626, allocations: 4 kB / 2.337 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/4.626, allocations: 4 kB / 2.337 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/4.626, allocations: 0 / 2.337 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.133e-05/4.626, allocations: 91.22 kB / 2.337 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/4.626, allocations: 0 / 2.337 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005634/4.626, allocations: 43.98 kB / 2.337 GB, free: 70.61 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.001291/4.628, allocations: 1.214 MB / 2.338 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001132/4.628, allocations: 19.92 kB / 2.338 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/4.628, allocations: 4 kB / 2.338 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/4.628, allocations: 4 kB / 2.338 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/4.628, allocations: 10.5 kB / 2.338 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/4.629, allocations: 93.64 kB / 2.338 GB, free: 69.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/4.629, allocations: 0.6768 MB / 2.339 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001372/4.629, allocations: 15.95 kB / 2.339 GB, free: 68.49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/4.629, allocations: 11.44 kB / 2.339 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/4.629, allocations: 0 / 2.339 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/4.656, allocations: 5.494 MB / 2.344 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/4.657, allocations: 142.1 kB / 2.345 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/6.321, allocations: 0 / 2.345 GB, free: 62.79 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)