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.009627/0.009627, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001906/0.001906, allocations: 194.4 kB / 16.67 MB, free: 5.918 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7769/0.7769, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 70.02 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1614, allocations: 80.92 MB / 0.6642 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003296/0.1648, allocations: 1.284 MB / 0.6654 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1662, allocations: 0.5735 MB / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.1663, allocations: 0 / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.1663, allocations: 0 / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.1664, allocations: 7.922 kB / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.167, allocations: 95.58 kB / 0.6661 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.1671, allocations: 23.86 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.1671, allocations: 3.984 kB / 0.6661 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.1672, allocations: 11.94 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.1673, allocations: 4 kB / 0.6661 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1673, allocations: 0 / 0.6661 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1678, allocations: 151.7 kB / 0.6663 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1678, allocations: 0 / 0.6663 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.1678, allocations: 7.938 kB / 0.6663 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1681, allocations: 90.66 kB / 0.6663 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1681, allocations: 7.984 kB / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.364e-06/0.1681, allocations: 0 / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.1681, allocations: 0 / 0.6664 GB, free: 4.039 MB / 0.4981 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.0004993/0.1687, allocations: 336.4 kB / 0.6667 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1687, allocations: 13.11 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.1688, allocations: 34.75 kB / 0.6667 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.1693, allocations: 28.91 kB / 0.6667 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1695, allocations: 168.3 kB / 0.6669 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1695, allocations: 384 / 0.6669 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1695, allocations: 4.375 kB / 0.6669 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.1698, allocations: 50.17 kB / 0.667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1698, allocations: 3.938 kB / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1699, allocations: 0 / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1699, allocations: 0 / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.17, allocations: 27.97 kB / 0.667 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1703, allocations: 153.7 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1706, allocations: 38.58 kB / 0.6672 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.1707, allocations: 24.91 kB / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1707, allocations: 3.938 kB / 0.6672 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1707, allocations: 34.5 kB / 0.6672 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.1708, allocations: 4 kB / 0.6672 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000424/0.1712, allocations: 69.59 kB / 0.6673 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.1714, allocations: 55.53 kB / 0.6674 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.1715, allocations: 97.86 kB / 0.6675 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1715, allocations: 25.7 kB / 0.6675 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.1716, allocations: 84.14 kB / 0.6676 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1717, allocations: 11.83 kB / 0.6676 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.1717, allocations: 17.66 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1719, allocations: 314.8 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.172, allocations: 7.984 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1721, allocations: 23.92 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1723, allocations: 24.84 kB / 0.6679 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1723, allocations: 0 / 0.6679 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000233/0.1725, allocations: 65.73 kB / 0.668 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1725, allocations: 11.92 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1726, allocations: 0 / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1726, allocations: 4 kB / 0.668 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1727, allocations: 8 kB / 0.668 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1727, allocations: 3.984 kB / 0.668 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.1728, allocations: 0 / 0.668 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1728, allocations: 4 kB / 0.668 GB, free: 2.086 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 9.04e-05/0.1729, allocations: 113.8 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1729, allocations: 3.938 kB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.173, allocations: 7.125 kB / 0.6681 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.173, allocations: 192 / 0.6681 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.173, allocations: 3.984 kB / 0.6682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.173, allocations: 3.984 kB / 0.6682 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1732, allocations: 157.7 kB / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1732, allocations: 0 / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.1733, allocations: 7.984 kB / 0.6683 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1733, allocations: 7.938 kB / 0.6683 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1733, allocations: 4 kB / 0.6683 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1733, allocations: 0 / 0.6683 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1733, allocations: 0 / 0.6683 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1736, allocations: 81.02 kB / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1737, allocations: 93.12 kB / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1737, allocations: 3.938 kB / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1738, allocations: 7.984 kB / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.1739, allocations: 3.938 kB / 0.6685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1739, allocations: 0 / 0.6685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.1739, allocations: 79.28 kB / 0.6686 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.795e-06/0.1739, allocations: 3.938 kB / 0.6686 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003248/0.1743, allocations: 15.94 kB / 0.6686 GB, free: 1.398 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.0007509/0.175, allocations: 0.6371 MB / 0.6692 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1753, allocations: 32 kB / 0.6693 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1753, allocations: 3.938 kB / 0.6693 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.1754, allocations: 11.98 kB / 0.6693 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1758, allocations: 11.94 kB / 0.6693 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.1765, allocations: 152.2 kB / 0.6694 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.177, allocations: 0.6808 MB / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.193e-05/0.1771, allocations: 8 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.1771, allocations: 7.438 kB / 0.6701 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1771, allocations: 4 kB / 0.6701 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.204, allocations: 1.573 MB / 0.6716 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.752, allocations: 10.3 kB / 0.6717 GB, free: 14.3 MB / 0.5137 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/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)