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.0009406/0.0009406, allocations: 100.1 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.001303/0.001303, allocations: 177.3 kB / 15.95 MB, free: 216 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.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.203/1.203, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8.781 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 82.3 MB / 0.5873 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001649/0.1565, allocations: 1.108 MB / 0.5884 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009947/0.1575, allocations: 0.5387 MB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.1576, allocations: 0 / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.1576, allocations: 3.938 kB / 0.5889 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.1577, allocations: 3.984 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1581, allocations: 91.73 kB / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.1582, allocations: 11.97 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.1583, allocations: 8 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.1583, allocations: 4 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.1584, allocations: 15.92 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1584, allocations: 3.984 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.1588, allocations: 155.7 kB / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-06/0.1588, allocations: 0 / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1588, allocations: 29.7 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.159, allocations: 80.12 kB / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.159, allocations: 0 / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.159, allocations: 0 / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.159, allocations: 0 / 0.5893 GB, free: 1.008 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.0004131/0.1594, allocations: 351.2 kB / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1595, allocations: 12.03 kB / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.1595, allocations: 34.56 kB / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/0.1599, allocations: 39.89 kB / 0.5897 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1601, allocations: 167 kB / 0.5898 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1601, allocations: 0 / 0.5898 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1601, allocations: 4 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.1604, allocations: 73.62 kB / 0.5899 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1604, allocations: 0 / 0.5899 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1604, allocations: 4 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1604, allocations: 0 / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.1607, allocations: 67.94 kB / 0.59 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.1612, allocations: 280.7 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1615, allocations: 66.53 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1615, allocations: 0 / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1615, allocations: 30.56 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1615, allocations: 0 / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005439/0.1621, allocations: 137.6 kB / 0.5905 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1621, allocations: 59.36 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.1622, allocations: 102 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1622, allocations: 25.7 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.1623, allocations: 80.14 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1623, allocations: 11.83 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.1623, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1625, allocations: 318.8 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.1626, allocations: 31.97 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1628, allocations: 31.97 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1629, allocations: 32.03 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1629, allocations: 4 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00032/0.1633, allocations: 89.64 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1633, allocations: 8 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1633, allocations: 4.031 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1633, allocations: 3.938 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1635, allocations: 11.98 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1635, allocations: 11.94 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.1636, allocations: 4 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1636, allocations: 7.984 kB / 0.5913 GB, free: 14.72 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 8.77e-05/0.1637, allocations: 120.2 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1637, allocations: 0 / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1638, allocations: 11.11 kB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1638, allocations: 0 / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1638, allocations: 0 / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1638, allocations: 3.953 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.164, allocations: 165.7 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.164, allocations: 0 / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1641, allocations: 19.97 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1641, allocations: 0 / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1641, allocations: 4 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1642, allocations: 0 / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1642, allocations: 0 / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.1645, allocations: 207.3 kB / 0.5918 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.1646, allocations: 77.11 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1646, allocations: 0 / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1647, allocations: 16.02 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1648, allocations: 0 / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1648, allocations: 11.98 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.1648, allocations: 75.47 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1648, allocations: 0 / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002527/0.1651, allocations: 20 kB / 0.592 GB, free: 13.91 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.000687/0.1658, allocations: 0.7321 MB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1661, allocations: 75.89 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1661, allocations: 0 / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1663, allocations: 39.97 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.1665, allocations: 2.5 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.1671, allocations: 185.6 kB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1673, allocations: 0.6809 MB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.07e-05/0.1674, allocations: 11.98 kB / 0.5937 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1675, allocations: 11.42 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1675, allocations: 0 / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.1799, allocations: 1.372 MB / 0.595 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.1801, allocations: 186.4 kB / 0.5952 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.146, allocations: 64 / 0.5952 GB, free: 10.64 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/linux/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) Environment - environmentSimulation: