Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.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.DewPointTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_DewPointTemperature",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.00628/0.00628, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001323/0.001323, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.41 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 80.91 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002835/0.1679, allocations: 1.527 MB / 0.6656 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1694, allocations: 0.8759 MB / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1695, allocations: 0 / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1697, allocations: 3.938 kB / 0.6665 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.1697, allocations: 19.84 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.1704, allocations: 195.1 kB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1706, allocations: 63.72 kB / 0.6668 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1707, allocations: 11.98 kB / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.1708, allocations: 19.94 kB / 0.6668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1709, allocations: 15.92 kB / 0.6668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1709, allocations: 8 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.1715, allocations: 335.5 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.1716, allocations: 11.98 kB / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.1716, allocations: 23.86 kB / 0.6672 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.1721, allocations: 239.5 kB / 0.6674 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1721, allocations: 0 / 0.6674 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1721, allocations: 0 / 0.6674 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1722, allocations: 3.984 kB / 0.6674 GB, free: 2.977 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006577/0.1728, allocations: 394.9 kB / 0.6678 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1729, allocations: 13.11 kB / 0.6678 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.1729, allocations: 38.75 kB / 0.6678 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.1733, allocations: 28.86 kB / 0.6678 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1736, allocations: 184.2 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1736, allocations: 4.375 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1736, allocations: 384 / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.1738, allocations: 78.2 kB / 0.6681 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1739, allocations: 7.938 kB / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1739, allocations: 0 / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1739, allocations: 3.984 kB / 0.6681 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.1741, allocations: 63.89 kB / 0.6682 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.1747, allocations: 300.7 kB / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1749, allocations: 78.7 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.175, allocations: 32.83 kB / 0.6686 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1751, allocations: 4 kB / 0.6686 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1751, allocations: 30.56 kB / 0.6686 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1751, allocations: 0 / 0.6686 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0004806/0.1756, allocations: 113.6 kB / 0.6687 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1756, allocations: 55.39 kB / 0.6688 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.1757, allocations: 105.8 kB / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1758, allocations: 29.7 kB / 0.6689 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1758, allocations: 96.02 kB / 0.669 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.1758, allocations: 11.91 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1759, allocations: 17.72 kB / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.176, allocations: 326.8 kB / 0.6693 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1762, allocations: 19.98 kB / 0.6693 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1763, allocations: 31.97 kB / 0.6694 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1765, allocations: 52.83 kB / 0.6694 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1765, allocations: 0 / 0.6694 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002621/0.1767, allocations: 102 kB / 0.6695 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1768, allocations: 4 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1768, allocations: 3.938 kB / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1768, allocations: 3.938 kB / 0.6695 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.1778, allocations: 127.9 kB / 0.6696 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.1796, allocations: 1.468 MB / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.1797, allocations: 11.95 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1797, allocations: 8.094 kB / 0.6711 GB, free: 14.79 MB / 0.5137 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1798, allocations: 111.9 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1799, allocations: 4 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.1804, allocations: 154.2 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1805, allocations: 0 / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1805, allocations: 3.984 kB / 0.6714 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1805, allocations: 3.984 kB / 0.6714 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1807, allocations: 177.6 kB / 0.6715 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1807, allocations: 3.938 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.1808, allocations: 11.98 kB / 0.6716 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.1813, allocations: 40.83 kB / 0.6716 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1813, allocations: 0 / 0.6716 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.1827, allocations: 1.443 MB / 0.673 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1827, allocations: 4.031 kB / 0.673 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.1833, allocations: 228.3 kB / 0.6732 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.1834, allocations: 77.11 kB / 0.6733 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1834, allocations: 0 / 0.6733 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1835, allocations: 19.92 kB / 0.6733 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1836, allocations: 11.92 kB / 0.6733 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1836, allocations: 4 kB / 0.6733 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.1837, allocations: 83.28 kB / 0.6734 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1837, allocations: 0 / 0.6734 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002874/0.184, allocations: 19.95 kB / 0.6734 GB, free: 12.16 MB / 0.5137 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000866/0.1848, allocations: 0.7536 MB / 0.6742 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.186, allocations: 159.8 kB / 0.6743 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.186, allocations: 0 / 0.6743 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.1864, allocations: 150.7 kB / 0.6745 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1868, allocations: 16.53 kB / 0.6745 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.1891, allocations: 1.417 MB / 0.6759 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1894, allocations: 0.6846 MB / 0.6765 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.1895, allocations: 8.031 kB / 0.6765 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.1896, allocations: 19.42 kB / 0.6766 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1896, allocations: 0 / 0.6766 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.2135, allocations: 2.341 MB / 0.6788 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 15.8 kB / 0.6789 GB, free: 6.598 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)