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.0009968/0.0009969, allocations: 174.7 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.7171/0.7171, allocations: 133.4 MB / 146.7 MB, free: 10.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.564/1.564, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0009288/0.0009287, allocations: 104.1 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.699e-05, allocations: 2.906 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7543/0.9197, allocations: 112.7 MB / 0.7505 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.92, allocations: 84.09 kB / 0.7506 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006403/0.9264, allocations: 1.968 MB / 0.7525 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9264, allocations: 0 / 0.7525 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9265, allocations: 3.938 kB / 0.7525 GB, free: 27.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003791/0.9268, allocations: 362.1 kB / 0.7529 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.9269, allocations: 12.52 kB / 0.7529 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.927, allocations: 30.56 kB / 0.7529 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.9273, allocations: 30.72 kB / 0.7529 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.9275, allocations: 163 kB / 0.7531 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.9275, allocations: 7.344 kB / 0.7531 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.9275, allocations: 1.125 kB / 0.7531 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.9277, allocations: 49.77 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9277, allocations: 0 / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.9277, allocations: 2.859 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.9277, allocations: 1.859 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.9278, allocations: 25.03 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.9282, allocations: 275 kB / 0.7534 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.9283, allocations: 40.16 kB / 0.7535 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.9284, allocations: 16.02 kB / 0.7535 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.9284, allocations: 0 / 0.7535 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.9284, allocations: 37.88 kB / 0.7535 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9284, allocations: 0 / 0.7535 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001838/0.9286, allocations: 54.53 kB / 0.7536 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.9287, allocations: 55.36 kB / 0.7536 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.9287, allocations: 98.88 kB / 0.7537 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.9288, allocations: 25.7 kB / 0.7538 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.9288, allocations: 84.11 kB / 0.7538 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.9288, allocations: 3.906 kB / 0.7538 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.9288, allocations: 3.688 kB / 0.7538 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.929, allocations: 314.8 kB / 0.7541 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.929, allocations: 13.75 kB / 0.7542 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.929, allocations: 7.406 kB / 0.7542 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.9291, allocations: 21.88 kB / 0.7542 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9291, allocations: 0 / 0.7542 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.677e-05/0.9292, allocations: 61.42 kB / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.9292, allocations: 3.844 kB / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9292, allocations: 0 / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9292, allocations: 3.188 kB / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.9294, allocations: 15.41 kB / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9294, allocations: 0 / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.9295, allocations: 19.02 kB / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.9295, allocations: 3.141 kB / 0.7543 GB, free: 25.89 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.742e-05/0.9296, allocations: 104.8 kB / 0.7544 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.9296, allocations: 192 / 0.7544 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.9296, allocations: 11.05 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.9297, allocations: 4 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9297, allocations: 7.844 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9297, allocations: 0 / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.9298, allocations: 167.4 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9298, allocations: 0 / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.9299, allocations: 21.27 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.93, allocations: 0 / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.93, allocations: 0 / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.93, allocations: 7.812 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.93, allocations: 3.141 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.9301, allocations: 154.9 kB / 0.7547 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.9302, allocations: 81.02 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.9302, allocations: 0 / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.9303, allocations: 10.84 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.9304, allocations: 3.844 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.9304, allocations: 7.219 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.9304, allocations: 82.25 kB / 0.7549 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9304, allocations: 0 / 0.7549 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002194/0.9307, allocations: 15.53 kB / 0.7549 GB, free: 25.25 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.0004536/0.9311, allocations: 0.7078 MB / 0.7556 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.9312, allocations: 22.45 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.9312, allocations: 3.844 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.9313, allocations: 13.59 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.9315, allocations: 3.75 kB / 0.7557 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.9319, allocations: 120.3 kB / 0.7558 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.9322, allocations: 0.6797 MB / 0.7565 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.762e-05/0.9323, allocations: 7.844 kB / 0.7565 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.9323, allocations: 17.75 kB / 0.7565 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.9323, allocations: 0 / 0.7565 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.9441, allocations: 1.371 MB / 0.7578 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.9443, allocations: 160.1 kB / 0.758 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.474, allocations: 0 / 0.758 GB, free: 23.35 MB / 0.5105 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)