Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_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.01148/0.01148, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8805/0.8805, allocations: 135.2 MB / 151 MB, free: 13.82 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.456/1.456, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001017/0.001017, allocations: 97.5 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.448, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.6018, allocations: 112.3 MB / 0.7592 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6022, allocations: 79.95 kB / 0.7593 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005774/0.6079, allocations: 1.813 MB / 0.7611 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.474e-06/0.608, allocations: 0 / 0.7611 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.608, allocations: 0 / 0.7611 GB, free: 1.754 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.0003483/0.6083, allocations: 351.3 kB / 0.7614 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6084, allocations: 8.031 kB / 0.7614 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.6084, allocations: 30.56 kB / 0.7614 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.6088, allocations: 31.89 kB / 0.7615 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.609, allocations: 175 kB / 0.7616 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.609, allocations: 0 / 0.7616 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.609, allocations: 4 kB / 0.7616 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.6092, allocations: 45.66 kB / 0.7617 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6092, allocations: 0 / 0.7617 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.6092, allocations: 4 kB / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6092, allocations: 0 / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.6093, allocations: 23.98 kB / 0.7617 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.6095, allocations: 169.6 kB / 0.7619 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.6097, allocations: 42.5 kB / 0.7619 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.6097, allocations: 0 / 0.7619 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.6097, allocations: 34.56 kB / 0.7619 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.6097, allocations: 4.062 kB / 0.7619 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002931/0.61, allocations: 65.66 kB / 0.762 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6101, allocations: 55.39 kB / 0.7621 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.6102, allocations: 89 kB / 0.7621 GB, free: 460 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6102, allocations: 25.7 kB / 0.7622 GB, free: 428 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.6102, allocations: 88.27 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.6103, allocations: 7.906 kB / 0.7623 GB, free: 328 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.6103, allocations: 0 / 0.7623 GB, free: 328 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6104, allocations: 310.8 kB / 0.7625 GB, free: 8 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.6105, allocations: 19.97 kB / 0.7626 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.6105, allocations: 7.938 kB / 0.7626 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.6106, allocations: 24 kB / 0.7626 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6106, allocations: 0 / 0.7626 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001577/0.6108, allocations: 53.67 kB / 0.7626 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6108, allocations: 8 kB / 0.7627 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6108, allocations: 7.922 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6108, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6109, allocations: 7.984 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.611, allocations: 4.031 kB / 0.7627 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.611, allocations: 4 kB / 0.7627 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.611, 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 8.472e-05/0.6111, allocations: 117.8 kB / 0.7628 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.6111, allocations: 7.938 kB / 0.7628 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.6112, allocations: 7.062 kB / 0.7628 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6112, allocations: 0 / 0.7628 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6112, allocations: 4 kB / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6112, allocations: 0 / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.6113, allocations: 161.5 kB / 0.763 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6113, allocations: 0 / 0.763 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.6114, allocations: 11.98 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6114, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6114, allocations: 192 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6115, allocations: 3.984 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.6115, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.6116, allocations: 89.09 kB / 0.7631 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.6117, allocations: 85.05 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.6117, allocations: 0 / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.6118, allocations: 8 kB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.6118, allocations: 0 / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.6119, allocations: 4 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.6119, allocations: 91.23 kB / 0.7632 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6119, allocations: 0 / 0.7632 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001913/0.6121, allocations: 12 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.0005557/0.6127, allocations: 0.6358 MB / 0.7639 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.6129, allocations: 31.97 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6129, allocations: 0 / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.6129, allocations: 15.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.0001327/0.6131, allocations: 17.89 kB / 0.7639 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.6135, allocations: 154.2 kB / 0.7641 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.6138, allocations: 0.6809 MB / 0.7648 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.457e-05/0.6139, allocations: 7.938 kB / 0.7648 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.614, allocations: 19.42 kB / 0.7648 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.614, allocations: 0 / 0.7648 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.6291, allocations: 1.327 MB / 0.7661 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.6295, allocations: 198.1 kB / 0.7663 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.145, allocations: 4 kB / 0.7663 GB, free: 12.11 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)