Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_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.008343/0.008343, allocations: 172 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.7412/0.7412, allocations: 135.2 MB / 151 MB, free: 13.81 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.583/1.583, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0008758/0.0008757, allocations: 92.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 12 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4232, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.5818, allocations: 112.7 MB / 0.7596 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5821, allocations: 79.95 kB / 0.7597 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006906/0.5891, allocations: 1.984 MB / 0.7616 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5891, allocations: 4 kB / 0.7616 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5891, allocations: 0 / 0.7616 GB, free: 1.156 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.0004517/0.5896, allocations: 371.2 kB / 0.762 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5896, allocations: 8.031 kB / 0.762 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.5897, allocations: 42.5 kB / 0.762 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.5901, allocations: 27.97 kB / 0.7621 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.5902, allocations: 167 kB / 0.7622 GB, free: 468 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5902, allocations: 0 / 0.7622 GB, free: 468 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.5902, allocations: 4 kB / 0.7622 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.5905, allocations: 65.64 kB / 0.7623 GB, free: 392 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.5905, allocations: 0 / 0.7623 GB, free: 392 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.5905, allocations: 4 kB / 0.7623 GB, free: 388 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5906, allocations: 4 kB / 0.7623 GB, free: 384 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.5908, allocations: 67.88 kB / 0.7623 GB, free: 316 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.5913, allocations: 268.9 kB / 0.7626 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.5916, allocations: 58.55 kB / 0.7627 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.5916, allocations: 7.984 kB / 0.7627 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5916, allocations: 30.56 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.5917, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0005301/0.5922, allocations: 137.5 kB / 0.7628 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.5922, allocations: 55.41 kB / 0.7629 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.5923, allocations: 96.94 kB / 0.763 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.5923, allocations: 25.7 kB / 0.763 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.5924, allocations: 84.27 kB / 0.7631 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.5924, allocations: 7.906 kB / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5924, allocations: 0 / 0.7631 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5926, allocations: 314.8 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5927, allocations: 27.97 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.5928, allocations: 39.97 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.593, allocations: 31.97 kB / 0.7635 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.593, allocations: 0 / 0.7635 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000336/0.5933, allocations: 97.64 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5933, allocations: 4 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5934, allocations: 4 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5934, allocations: 3.984 kB / 0.7636 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.5935, allocations: 19.95 kB / 0.7636 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5935, allocations: 0 / 0.7636 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.5937, allocations: 15.92 kB / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5937, allocations: 11.89 kB / 0.7636 GB, free: 14.88 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 8.691e-05/0.5938, allocations: 109.8 kB / 0.7637 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.5938, allocations: 0 / 0.7637 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.5938, allocations: 11.12 kB / 0.7637 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5939, allocations: 3.984 kB / 0.7638 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5939, allocations: 0 / 0.7638 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5939, allocations: 0 / 0.7638 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.5941, allocations: 173.6 kB / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5941, allocations: 0 / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5942, allocations: 11.98 kB / 0.7639 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5942, allocations: 4 kB / 0.7639 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.5942, allocations: 12.11 kB / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5942, allocations: 0 / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5942, allocations: 0 / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.5946, allocations: 199.3 kB / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.5947, allocations: 85.09 kB / 0.7642 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.5947, allocations: 0 / 0.7642 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5948, allocations: 12 kB / 0.7642 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.5949, allocations: 3.984 kB / 0.7642 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.5949, allocations: 0 / 0.7642 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.5949, allocations: 83.31 kB / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5949, allocations: 0 / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002571/0.5952, allocations: 19.98 kB / 0.7643 GB, free: 14.07 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.0007067/0.5959, allocations: 0.7436 MB / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.5962, allocations: 67.97 kB / 0.7651 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5962, allocations: 0 / 0.7651 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.5964, allocations: 40.02 kB / 0.7652 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.5965, allocations: 6.234 kB / 0.7652 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.5971, allocations: 178.1 kB / 0.7653 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.5974, allocations: 0.677 MB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.979e-05/0.5975, allocations: 16 kB / 0.766 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.5976, allocations: 15.42 kB / 0.766 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of SimCode: time 3.8e-07/0.5976, allocations: 0 / 0.766 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.6106, allocations: 1.359 MB / 0.7674 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.6108, allocations: 180.2 kB / 0.7675 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.224, allocations: 0 / 0.7675 GB, free: 10.77 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)