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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9347/0.9347, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 76.25 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1434, allocations: 80.92 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002379/0.1458, allocations: 1.453 MB / 0.5854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.1467, allocations: 0.5967 MB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.1467, allocations: 0 / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.1468, allocations: 0 / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.1468, allocations: 3.938 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1472, allocations: 91.7 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.1472, allocations: 23.92 kB / 0.5861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.1473, allocations: 7.984 kB / 0.5861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.1474, allocations: 15.92 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.1474, allocations: 7.938 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1474, allocations: 0 / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.1476, allocations: 147.8 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1477, allocations: 11.92 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.1477, allocations: 12 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1479, allocations: 104 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1479, allocations: 0 / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1479, allocations: 0 / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1479, allocations: 0 / 0.5864 GB, free: 2.309 MB / 494.1 MB 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.0003616/0.1483, allocations: 359.4 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1483, allocations: 8.031 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.1483, allocations: 34.75 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.1488, allocations: 32.91 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.115e-05/0.1489, allocations: 168.4 kB / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1489, allocations: 8.312 kB / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1489, allocations: 384 / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.1491, allocations: 70.14 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1491, allocations: 3.938 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1492, allocations: 4 kB / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-06/0.1492, allocations: 0 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.1494, allocations: 51.94 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.1498, allocations: 280.8 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.15, allocations: 62.47 kB / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1501, allocations: 32.84 kB / 0.5875 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1502, allocations: 3.984 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1502, allocations: 38.56 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1502, allocations: 0 / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004563/0.1507, allocations: 105.6 kB / 0.5876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.1507, allocations: 55.53 kB / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.1508, allocations: 105.8 kB / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1508, allocations: 25.7 kB / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.1508, allocations: 80.14 kB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1508, allocations: 11.83 kB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.1509, allocations: 21.7 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.151, allocations: 314.8 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1511, allocations: 31.97 kB / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1512, allocations: 23.97 kB / 0.5882 GB, free: 192 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1514, allocations: 52.81 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1515, allocations: 8 kB / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002758/0.1517, allocations: 89.62 kB / 0.5884 GB, free: 32 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1518, allocations: 8 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1518, allocations: 0 / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1518, allocations: 0 / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1519, allocations: 11.98 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1519, allocations: 7.969 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.152, allocations: 8.031 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.152, allocations: 4 kB / 0.5884 GB, free: 15.99 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.1521, allocations: 113.7 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1521, allocations: 7.844 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.1522, allocations: 11.12 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1522, allocations: 4 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1522, allocations: 0 / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1522, allocations: 0 / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1524, allocations: 161.6 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1524, allocations: 4 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1525, allocations: 15.97 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1525, allocations: 0 / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1525, allocations: 0 / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1525, allocations: 0 / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1525, allocations: 0 / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1528, allocations: 187.4 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.1529, allocations: 85.23 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1529, allocations: 4 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.153, allocations: 12.02 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1531, allocations: 11.98 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1531, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.1531, allocations: 83.27 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1531, allocations: 0 / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002247/0.1533, allocations: 12 kB / 0.5891 GB, free: 15.2 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005683/0.1539, allocations: 0.7241 MB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1542, allocations: 63.91 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1542, allocations: 0 / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1543, allocations: 35.89 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1546, allocations: 9.141 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.1551, allocations: 184.2 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.1553, allocations: 0.6729 MB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.1554, allocations: 15.97 kB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.1554, allocations: 7.438 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1554, allocations: 0 / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/1.285, allocations: 1.506 MB / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/1.286, allocations: 208.1 kB / 0.5924 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/3.306, allocations: 3.938 kB / 0.5925 GB, free: 11.78 MB / 0.4981 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/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)