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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001502/0.001502, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.948/0.948, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 8 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 82.3 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001276/0.1644, allocations: 0.9862 MB / 0.5882 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.1652, allocations: 0.5036 MB / 0.5887 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.1652, allocations: 0 / 0.5887 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.1652, allocations: 7.938 kB / 0.5887 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.1653, allocations: 11.97 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1656, allocations: 83.73 kB / 0.5888 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.249e-05/0.1657, allocations: 11.98 kB / 0.5888 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1657, allocations: 3.984 kB / 0.5888 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.1658, allocations: 11.92 kB / 0.5889 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.1658, allocations: 4 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1658, allocations: 0 / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1661, allocations: 163.7 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-06/0.1661, allocations: 0 / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.1662, allocations: 29.7 kB / 0.589 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1663, allocations: 68.14 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1663, allocations: 0 / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1663, allocations: 0 / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1663, allocations: 0 / 0.5891 GB, free: 1.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003601/0.1667, allocations: 339.3 kB / 0.5894 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1667, allocations: 8.031 kB / 0.5894 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1668, allocations: 38.56 kB / 0.5895 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.1672, allocations: 27.95 kB / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1673, allocations: 171 kB / 0.5897 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1674, allocations: 3.938 kB / 0.5897 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1674, allocations: 0 / 0.5897 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1675, allocations: 49.66 kB / 0.5897 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1675, allocations: 4 kB / 0.5897 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1676, allocations: 0 / 0.5897 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1676, allocations: 0 / 0.5897 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1677, allocations: 19.98 kB / 0.5897 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1679, allocations: 161.6 kB / 0.5899 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.168, allocations: 50.52 kB / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1681, allocations: 0 / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1681, allocations: 30.56 kB / 0.59 GB, free: 36 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1681, allocations: 0 / 0.59 GB, free: 36 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003031/0.1684, allocations: 69.84 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1685, allocations: 55.41 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.1685, allocations: 105.8 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1686, allocations: 25.7 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.1686, allocations: 80.14 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1687, allocations: 3.906 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1687, allocations: 4 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1688, allocations: 318.8 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.1689, allocations: 15.92 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.1689, allocations: 15.98 kB / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.169, allocations: 11.94 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.169, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001581/0.1692, allocations: 61.66 kB / 0.5907 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1692, allocations: 8.094 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1692, allocations: 0 / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1692, allocations: 4 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1693, allocations: 7.984 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1693, allocations: 0 / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.1694, allocations: 3.938 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1694, allocations: 4 kB / 0.5907 GB, free: 15.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.1695, allocations: 109.8 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1695, allocations: 7.906 kB / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.1696, allocations: 19.05 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1696, allocations: 3.938 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1696, allocations: 0 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1696, allocations: 0 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1697, allocations: 157.6 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1697, allocations: 4 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.1698, allocations: 7.984 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1698, allocations: 4 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1698, allocations: 4 kB / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1698, allocations: 3.984 kB / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1698, allocations: 0 / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.17, allocations: 89.05 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1701, allocations: 77.11 kB / 0.5912 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1701, allocations: 4.031 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.1702, allocations: 7.984 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1702, allocations: 0 / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1702, allocations: 0 / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.1702, allocations: 83.22 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1702, allocations: 0 / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001984/0.1704, allocations: 12 kB / 0.5913 GB, free: 14.52 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 (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.0005447/0.171, allocations: 0.6397 MB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1712, allocations: 27.97 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1712, allocations: 4.094 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.1713, allocations: 19.92 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.1714, allocations: 4 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.1718, allocations: 152.7 kB / 0.5921 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1721, allocations: 0.6926 MB / 0.5928 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.129e-05/0.1722, allocations: 4 kB / 0.5928 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.1722, allocations: 15.42 kB / 0.5928 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1722, allocations: 0 / 0.5928 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.1834, allocations: 1.335 MB / 0.5941 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.1837, allocations: 192 kB / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.11, allocations: 0 / 0.5943 GB, free: 11.48 MB / 0.4981 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) Environment - environmentSimulation: