Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.001615/0.001615, allocations: 180.9 kB / 7.651 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.7638/0.7638, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.509/1.509, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001131/0.001131, allocations: 108.4 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.979e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4718, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.626, allocations: 112 MB / 0.7433 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.6263, allocations: 71.95 kB / 0.7434 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00642/0.6327, allocations: 1.964 MB / 0.7453 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6328, allocations: 0 / 0.7453 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6328, allocations: 0 / 0.7453 GB, free: 8.633 MB / 0.5261 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.0004047/0.6332, allocations: 358.4 kB / 0.7456 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.6333, allocations: 16.02 kB / 0.7456 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.6336, allocations: 27.88 kB / 0.7457 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.6338, allocations: 171 kB / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.6338, allocations: 3.984 kB / 0.7458 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.6338, allocations: 3.938 kB / 0.7458 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.6339, allocations: 23.98 kB / 0.7459 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.634, allocations: 45.67 kB / 0.7459 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6341, allocations: 0 / 0.7459 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.6341, allocations: 4 kB / 0.7459 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6341, allocations: 0 / 0.7459 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.6346, allocations: 253.5 kB / 0.7462 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.6346, allocations: 38.5 kB / 0.7462 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.6347, allocations: 16.92 kB / 0.7462 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.6347, allocations: 0 / 0.7462 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.6347, allocations: 34.56 kB / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6347, allocations: 0 / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.6349, allocations: 53.69 kB / 0.7463 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.635, allocations: 51.41 kB / 0.7463 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.635, allocations: 92.98 kB / 0.7464 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.6351, allocations: 25.7 kB / 0.7465 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.6351, allocations: 84.14 kB / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.6352, allocations: 7.938 kB / 0.7465 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6352, allocations: 3.938 kB / 0.7465 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6353, allocations: 318.8 kB / 0.7468 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.6353, allocations: 15.92 kB / 0.7469 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.6354, allocations: 8 kB / 0.7469 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.6354, allocations: 12 kB / 0.7469 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6354, allocations: 0 / 0.7469 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.788e-05/0.6355, allocations: 57.58 kB / 0.7469 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6355, allocations: 12.09 kB / 0.7469 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6355, allocations: 0 / 0.7469 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6356, allocations: 0 / 0.7469 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.6357, allocations: 15.98 kB / 0.747 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6357, allocations: 0 / 0.747 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.6358, allocations: 15.98 kB / 0.747 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6358, allocations: 0 / 0.747 GB, free: 6.699 MB / 0.5261 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 (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 prepare postOptimizeDAE: time 8.729e-05/0.6359, allocations: 112.9 kB / 0.7471 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001088/0.636, allocations: 57.62 kB / 0.7471 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.6361, allocations: 0 / 0.7471 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.6361, allocations: 7.75 kB / 0.7471 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6361, allocations: 0 / 0.7471 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6361, allocations: 0 / 0.7471 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6361, allocations: 0 / 0.7471 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.6363, allocations: 154 kB / 0.7473 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6363, allocations: 4.031 kB / 0.7473 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6364, allocations: 19.97 kB / 0.7473 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6364, allocations: 0 / 0.7473 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6365, allocations: 0 / 0.7473 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6365, allocations: 0 / 0.7473 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.6365, allocations: 4 kB / 0.7473 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.6366, allocations: 163.3 kB / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.6367, allocations: 77.11 kB / 0.7476 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.6367, allocations: 0 / 0.7476 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6368, allocations: 11.98 kB / 0.7476 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.6369, allocations: 0 / 0.7476 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.6369, allocations: 3.984 kB / 0.7476 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.6369, allocations: 87.45 kB / 0.7476 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6369, allocations: 0 / 0.7476 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002439/0.6372, allocations: 20.03 kB / 0.7477 GB, free: 5.906 MB / 0.5261 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.0004962/0.6377, allocations: 0.6929 MB / 0.7483 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.6379, allocations: 31.92 kB / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6379, allocations: 96 / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.6379, allocations: 15.98 kB / 0.7484 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.6381, allocations: 8 kB / 0.7484 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.6385, allocations: 105.5 kB / 0.7485 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.6388, allocations: 0.6807 MB / 0.7492 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.561e-05/0.6389, allocations: 12 kB / 0.7492 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.639, allocations: 15.42 kB / 0.7492 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of SimCode: time 3.5e-07/0.639, allocations: 0 / 0.7492 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.6586, allocations: 1.062 MB / 0.7502 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.6589, allocations: 143.3 kB / 0.7504 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.272, allocations: 3 kB / 0.7504 GB, free: 3.008 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)