Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.006321/0.00632, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7305/0.7305, allocations: 135.2 MB / 151 MB, free: 13.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.407/1.407, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001095/0.001095, allocations: 100.9 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004383, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.5224, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.6632, allocations: 112.3 MB / 0.7592 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.6635, allocations: 87.94 kB / 0.7593 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005678/0.6692, allocations: 1.805 MB / 0.7611 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6692, allocations: 0 / 0.7611 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6692, allocations: 0 / 0.7611 GB, free: 1.758 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003034/0.6695, allocations: 355.3 kB / 0.7614 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6696, allocations: 11.97 kB / 0.7614 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.6696, allocations: 30.56 kB / 0.7614 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.67, allocations: 31.89 kB / 0.7615 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.6701, allocations: 167 kB / 0.7616 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.6701, allocations: 0 / 0.7616 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.6701, allocations: 4 kB / 0.7616 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6703, allocations: 53.66 kB / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6703, allocations: 0 / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.6703, allocations: 0 / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.6703, allocations: 0 / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.6705, allocations: 19.98 kB / 0.7617 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.6706, allocations: 165.5 kB / 0.7619 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.6708, allocations: 42.53 kB / 0.7619 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.6708, allocations: 0 / 0.7619 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.6708, allocations: 34.62 kB / 0.7619 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.6708, allocations: 0 / 0.7619 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002803/0.6711, allocations: 69.66 kB / 0.762 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.6712, allocations: 59.39 kB / 0.762 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.6712, allocations: 92.98 kB / 0.7621 GB, free: 460 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.6713, allocations: 29.7 kB / 0.7622 GB, free: 424 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.6713, allocations: 84.12 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.6713, allocations: 3.906 kB / 0.7622 GB, free: 332 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.6713, allocations: 3.938 kB / 0.7623 GB, free: 328 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6715, allocations: 319 kB / 0.7626 GB, free: 0 / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.6715, allocations: 11.98 kB / 0.7626 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.6716, allocations: 11.98 kB / 0.7626 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/0.6717, allocations: 15.94 kB / 0.7626 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6717, allocations: 0 / 0.7626 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001599/0.6718, allocations: 65.73 kB / 0.7627 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6719, allocations: 5.25 kB / 0.7627 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6719, allocations: 3.984 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.6719, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.672, allocations: 7.984 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.672, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.6721, allocations: 4 kB / 0.7627 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6721, allocations: 0 / 0.7627 GB, free: 15.87 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 0.0001073/0.6722, allocations: 125.8 kB / 0.7628 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.6722, allocations: 3.938 kB / 0.7628 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.6723, allocations: 7.125 kB / 0.7628 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6723, allocations: 3.938 kB / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6723, allocations: 0 / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6723, allocations: 0 / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.6724, allocations: 161.5 kB / 0.763 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6724, allocations: 8 kB / 0.763 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.6725, allocations: 11.98 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6725, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.6726, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6726, allocations: 3.984 kB / 0.763 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6726, allocations: 0 / 0.763 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.6728, allocations: 85.11 kB / 0.7631 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.6728, allocations: 85.05 kB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.6729, allocations: 4 kB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.6729, allocations: 0 / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.673, allocations: 0 / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.673, allocations: 7.938 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.673, allocations: 79.27 kB / 0.7632 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.673, allocations: 0 / 0.7632 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001952/0.6732, allocations: 16 kB / 0.7633 GB, free: 15.18 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.0005368/0.6738, allocations: 0.6358 MB / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.6739, allocations: 32 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6739, allocations: 0 / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.674, allocations: 19.92 kB / 0.7639 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.6741, allocations: 7.984 kB / 0.7639 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.6746, allocations: 166.3 kB / 0.7641 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.6748, allocations: 0.677 MB / 0.7648 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.027e-05/0.6749, allocations: 11.94 kB / 0.7648 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.675, allocations: 11.42 kB / 0.7648 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.675, allocations: 0 / 0.7648 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.6862, allocations: 1.333 MB / 0.7661 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.6864, allocations: 187.2 kB / 0.7663 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.291, allocations: 0 / 0.7663 GB, free: 12.11 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)