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.001698/0.001698, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8591/0.8591, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.584/1.584, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008941, allocations: 108.2 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.746e-05, allocations: 4.062 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6411/0.8165, allocations: 112.2 MB / 0.7501 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.8168, allocations: 80.02 kB / 0.7502 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005444/0.8222, allocations: 1.808 MB / 0.752 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8223, allocations: 0 / 0.752 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8223, allocations: 0 / 0.752 GB, free: 27.62 MB / 0.5105 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.0002902/0.8226, allocations: 338.4 kB / 0.7523 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.8226, allocations: 8.781 kB / 0.7523 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.8227, allocations: 37.53 kB / 0.7523 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.823, allocations: 27.33 kB / 0.7524 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.8232, allocations: 174.7 kB / 0.7525 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.8232, allocations: 0 / 0.7525 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.8232, allocations: 3.938 kB / 0.7525 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.8233, allocations: 45.12 kB / 0.7526 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.8233, allocations: 0 / 0.7526 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.8234, allocations: 0 / 0.7526 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.8234, allocations: 0 / 0.7526 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.8234, allocations: 23.56 kB / 0.7526 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.8236, allocations: 158.4 kB / 0.7527 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.8237, allocations: 33.98 kB / 0.7528 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.8237, allocations: 16.11 kB / 0.7528 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.8237, allocations: 0 / 0.7528 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.8237, allocations: 34.41 kB / 0.7528 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.8238, allocations: 4 kB / 0.7528 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.8239, allocations: 49.67 kB / 0.7529 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.824, allocations: 54.17 kB / 0.7529 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.824, allocations: 88.88 kB / 0.753 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.824, allocations: 25.7 kB / 0.753 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.8241, allocations: 84.02 kB / 0.7531 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.8241, allocations: 7.844 kB / 0.7531 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.8241, allocations: 0 / 0.7531 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8243, allocations: 325.4 kB / 0.7534 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.8243, allocations: 11.41 kB / 0.7534 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.8243, allocations: 7.812 kB / 0.7535 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.8243, allocations: 10.39 kB / 0.7535 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8243, allocations: 0 / 0.7535 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.176e-05/0.8244, allocations: 49.14 kB / 0.7535 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.8245, allocations: 3.75 kB / 0.7535 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8245, allocations: 2.812 kB / 0.7535 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8245, allocations: 4.969 kB / 0.7535 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.8246, allocations: 6.547 kB / 0.7535 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.8246, allocations: 3.875 kB / 0.7535 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.8247, allocations: 0 / 0.7535 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.8247, allocations: 2.625 kB / 0.7535 GB, free: 26.04 MB / 0.5105 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 6.373e-05/0.8248, allocations: 108.8 kB / 0.7536 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.8248, allocations: 3.438 kB / 0.7536 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.8248, allocations: 7.125 kB / 0.7536 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.8248, allocations: 0 / 0.7536 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8248, allocations: 7.844 kB / 0.7537 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8248, allocations: 0 / 0.7537 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.8249, allocations: 158.2 kB / 0.7538 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8249, allocations: 3.938 kB / 0.7538 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.825, allocations: 6.688 kB / 0.7538 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.825, allocations: 192 / 0.7538 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.825, allocations: 2.297 kB / 0.7538 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.825, allocations: 3.844 kB / 0.7538 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8251, allocations: 7.938 kB / 0.7538 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.8252, allocations: 81.84 kB / 0.7539 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.8252, allocations: 87.59 kB / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.8253, allocations: 0 / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.8253, allocations: 3.844 kB / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.8253, allocations: 0 / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.8254, allocations: 2.625 kB / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.8254, allocations: 83.19 kB / 0.7541 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8254, allocations: 0 / 0.7541 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002008/0.8256, allocations: 14.91 kB / 0.7541 GB, free: 25.47 MB / 0.5105 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.0004375/0.8261, allocations: 0.6284 MB / 0.7547 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.28e-05/0.8261, allocations: 25.72 kB / 0.7547 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8262, allocations: 0 / 0.7547 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.8262, allocations: 17.95 kB / 0.7547 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.8263, allocations: 10.89 kB / 0.7548 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.8266, allocations: 88.47 kB / 0.7548 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.8269, allocations: 0.6754 MB / 0.7555 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.223e-05/0.827, allocations: 11.97 kB / 0.7555 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.827, allocations: 17.09 kB / 0.7555 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.827, allocations: 3.938 kB / 0.7555 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.8393, allocations: 1.328 MB / 0.7568 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.8394, allocations: 176.2 kB / 0.757 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.316, allocations: 0 / 0.757 GB, free: 23.65 MB / 0.5105 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)