Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.00163/0.00163, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.27 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1667, allocations: 80.21 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002864/0.1696, allocations: 1.255 MB / 0.5814 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1712, allocations: 0.8824 MB / 0.5823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.1712, allocations: 0 / 0.5823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.1713, allocations: 0 / 0.5823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.1714, allocations: 11.98 kB / 0.5823 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.1721, allocations: 194.4 kB / 0.5825 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.1722, allocations: 15.88 kB / 0.5825 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.1722, allocations: 7.984 kB / 0.5825 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.1723, allocations: 8 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.1723, allocations: 7.938 kB / 0.5825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1723, allocations: 0 / 0.5825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.1727, allocations: 195.8 kB / 0.5827 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1728, allocations: 11.98 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1728, allocations: 7.938 kB / 0.5827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1731, allocations: 143.8 kB / 0.5829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1731, allocations: 0 / 0.5829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1731, allocations: 3.984 kB / 0.5829 GB, free: 5.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1731, allocations: 0 / 0.5829 GB, free: 5.902 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004456/0.1736, allocations: 355.4 kB / 0.5832 GB, free: 5.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1736, allocations: 8.031 kB / 0.5832 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.1737, allocations: 38.69 kB / 0.5832 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1739, allocations: 12.92 kB / 0.5833 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.174, allocations: 168.3 kB / 0.5834 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.174, allocations: 4.375 kB / 0.5834 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.174, allocations: 3.938 kB / 0.5834 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1742, allocations: 49.66 kB / 0.5835 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1742, allocations: 0 / 0.5835 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1742, allocations: 0 / 0.5835 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1742, allocations: 0 / 0.5835 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.004e-05/0.1743, allocations: 19.98 kB / 0.5835 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1745, allocations: 153.7 kB / 0.5836 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.1754, allocations: 138.5 kB / 0.5838 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.1755, allocations: 20.86 kB / 0.5838 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.1756, allocations: 89.09 kB / 0.5839 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1756, allocations: 34.55 kB / 0.5839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1756, allocations: 0 / 0.5839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001842/0.1758, allocations: 57.69 kB / 0.584 GB, free: 4.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1759, allocations: 51.41 kB / 0.584 GB, free: 4.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.1759, allocations: 97.86 kB / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.176, allocations: 29.64 kB / 0.5841 GB, free: 4.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.176, allocations: 88.2 kB / 0.5842 GB, free: 4.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.176, allocations: 15.8 kB / 0.5842 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1761, allocations: 13.72 kB / 0.5842 GB, free: 4.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1762, allocations: 314.8 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.1763, allocations: 8 kB / 0.5846 GB, free: 3.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.1763, allocations: 7.984 kB / 0.5846 GB, free: 3.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.1763, allocations: 24.86 kB / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1764, allocations: 0 / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.1765, allocations: 57.62 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1765, allocations: 8 kB / 0.5847 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1765, allocations: 0 / 0.5847 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.1765, allocations: 0 / 0.5847 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.1766, allocations: 19.86 kB / 0.5847 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1766, allocations: 0 / 0.5847 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.1767, allocations: 7.938 kB / 0.5847 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1767, allocations: 0 / 0.5847 GB, free: 3.793 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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 0.000103/0.1768, allocations: 113.8 kB / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.1768, allocations: 0 / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.1771, allocations: 85.41 kB / 0.5849 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1771, allocations: 0 / 0.5849 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1771, allocations: 0 / 0.5849 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1772, allocations: 7.969 kB / 0.5849 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1773, allocations: 161.6 kB / 0.585 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1773, allocations: 4 kB / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.1774, allocations: 7.938 kB / 0.585 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.1774, allocations: 4 kB / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1774, allocations: 64 / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1774, allocations: 4 kB / 0.585 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1775, allocations: 0 / 0.585 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1776, allocations: 85.06 kB / 0.5851 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.1777, allocations: 89.09 kB / 0.5852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1777, allocations: 4 kB / 0.5852 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.1778, allocations: 0 / 0.5852 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.1778, allocations: 4 kB / 0.5852 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1778, allocations: 0 / 0.5852 GB, free: 3.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.1779, allocations: 75.28 kB / 0.5853 GB, free: 3.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 0.5853 GB, free: 3.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1782, allocations: 55.92 kB / 0.5853 GB, free: 2.996 MB / 494.1 MB 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 (5): * Single equations (assignments): 5 * 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.0009093/0.1791, allocations: 0.6908 MB / 0.586 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1793, allocations: 35.92 kB / 0.5861 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1793, allocations: 0 / 0.5861 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.1794, allocations: 16 kB / 0.5861 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1796, allocations: 13.86 kB / 0.5861 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.1803, allocations: 176.1 kB / 0.5863 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1806, allocations: 0.6729 MB / 0.5869 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.825e-05/0.1807, allocations: 11.98 kB / 0.5869 GB, free: 1.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.1807, allocations: 14.83 kB / 0.5869 GB, free: 1.293 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1807, allocations: 0 / 0.5869 GB, free: 1.293 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.2016, allocations: 1.935 MB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.628, allocations: 8.594 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)