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.008537/0.008537, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7603/0.7603, allocations: 135.2 MB / 151 MB, free: 13.8 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.485/1.485, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.0009238/0.0009238, allocations: 105.8 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4385, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5768, allocations: 112.7 MB / 0.7596 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5771, allocations: 75.95 kB / 0.7597 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006736/0.5839, allocations: 1.984 MB / 0.7616 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5839, allocations: 4 kB / 0.7616 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.5839, allocations: 0 / 0.7616 GB, free: 1.195 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.0004168/0.5843, allocations: 367.2 kB / 0.762 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5844, allocations: 12.03 kB / 0.762 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.5844, allocations: 34.5 kB / 0.762 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.5848, allocations: 35.95 kB / 0.762 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5849, allocations: 163 kB / 0.7622 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.585, allocations: 4 kB / 0.7622 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.585, allocations: 4 kB / 0.7622 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.5853, allocations: 65.64 kB / 0.7623 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5853, allocations: 0 / 0.7623 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5853, allocations: 3.938 kB / 0.7623 GB, free: 428 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5853, allocations: 4 kB / 0.7623 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.5856, allocations: 59.94 kB / 0.7623 GB, free: 364 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.5861, allocations: 280.8 kB / 0.7626 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.5864, allocations: 62.53 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5864, allocations: 4 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5864, allocations: 34.5 kB / 0.7627 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5864, allocations: 0 / 0.7627 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0005438/0.587, allocations: 133.6 kB / 0.7628 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.587, allocations: 55.41 kB / 0.7629 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.5871, allocations: 96.94 kB / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5871, allocations: 29.7 kB / 0.763 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.5872, allocations: 80.27 kB / 0.7631 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.5872, allocations: 11.91 kB / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.5872, allocations: 0 / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5873, allocations: 314.8 kB / 0.7634 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.5875, allocations: 31.97 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.5876, allocations: 35.97 kB / 0.7635 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.5878, allocations: 27.92 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5878, allocations: 0 / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003252/0.5881, allocations: 105.7 kB / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5881, allocations: 4.938 kB / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5881, allocations: 0 / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5882, allocations: 4 kB / 0.7636 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5883, allocations: 16.02 kB / 0.7636 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.5883, allocations: 3.984 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.5884, allocations: 11.94 kB / 0.7636 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5885, allocations: 11.88 kB / 0.7636 GB, free: 14.91 MB / 0.5417 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 (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 6.836e-05/0.5885, allocations: 109.8 kB / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.5886, allocations: 0 / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.5886, allocations: 11.12 kB / 0.7637 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5886, allocations: 4 kB / 0.7638 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5886, allocations: 0 / 0.7638 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5886, allocations: 0 / 0.7638 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.5888, allocations: 169.6 kB / 0.7639 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5888, allocations: 0 / 0.7639 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.5889, allocations: 23.91 kB / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.589, allocations: 4 kB / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.589, allocations: 0 / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.589, allocations: 4 kB / 0.7639 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.589, allocations: 0 / 0.7639 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.5893, allocations: 199.3 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.5894, allocations: 85.05 kB / 0.7642 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.5894, allocations: 0 / 0.7642 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5896, allocations: 11.98 kB / 0.7642 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.5896, allocations: 0 / 0.7642 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.5896, allocations: 11.98 kB / 0.7642 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.5897, allocations: 83.31 kB / 0.7643 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5897, allocations: 0 / 0.7643 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002418/0.5899, allocations: 16 kB / 0.7643 GB, free: 14.1 MB / 0.5417 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.0007273/0.5906, allocations: 0.7436 MB / 0.7651 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.591, allocations: 67.97 kB / 0.7651 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.591, allocations: 0 / 0.7651 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5911, allocations: 40.03 kB / 0.7652 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.5913, allocations: 4.516 kB / 0.7652 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.5919, allocations: 182 kB / 0.7653 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.5921, allocations: 0.677 MB / 0.766 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.764e-05/0.5922, allocations: 12.06 kB / 0.766 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.5923, allocations: 11.44 kB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.5923, allocations: 7.938 kB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.6038, allocations: 1.358 MB / 0.7674 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.604, allocations: 171.5 kB / 0.7675 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.116, allocations: 2.109 kB / 0.7675 GB, free: 10.8 MB / 0.5417 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)