Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.00187/0.00187, allocations: 108 kB / 15.6 MB, free: 132 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.002002/0.002002, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9735/0.9735, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.53 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1703, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003151/0.1735, allocations: 1.248 MB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.1741, allocations: 299 kB / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.1741, allocations: 0 / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1742, allocations: 0 / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.1742, allocations: 15.91 kB / 0.586 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1746, allocations: 47.77 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.1747, allocations: 19.92 kB / 0.5861 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.1747, allocations: 0 / 0.5861 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.1748, allocations: 7.938 kB / 0.5861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.1748, allocations: 7.984 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1748, allocations: 0 / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.175, allocations: 59.94 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.175, allocations: 8 kB / 0.5861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.1751, allocations: 7.938 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1752, allocations: 48.17 kB / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1752, allocations: 0 / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1753, allocations: 0 / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1753, allocations: 0 / 0.5862 GB, free: 2.695 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.000437/0.1757, allocations: 331.6 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1758, allocations: 11.97 kB / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.1758, allocations: 42.73 kB / 0.5866 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.1761, allocations: 20.83 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1762, allocations: 172.3 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1762, allocations: 384 / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.1762, allocations: 384 / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1763, allocations: 42.25 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1764, allocations: 3.938 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1764, allocations: 0 / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1764, allocations: 3.984 kB / 0.5868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.1764, allocations: 19.98 kB / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1766, allocations: 161.7 kB / 0.587 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.1785, allocations: 262.4 kB / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.1786, allocations: 28.84 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.1786, allocations: 4 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1786, allocations: 30.56 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.1787, allocations: 0 / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.1788, allocations: 65.62 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1789, allocations: 55.34 kB / 0.5874 GB, free: 1.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.1789, allocations: 89.86 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.179, allocations: 33.83 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.179, allocations: 80.14 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.179, allocations: 15.75 kB / 0.5876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1791, allocations: 17.7 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.808e-05/0.1792, allocations: 310.8 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.1792, allocations: 8 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.1792, allocations: 8 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/0.1793, allocations: 28.84 kB / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1793, allocations: 4 kB / 0.588 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.073e-05/0.1794, allocations: 57.62 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1794, allocations: 7.938 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1794, allocations: 8 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1794, allocations: 0 / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.1795, allocations: 4 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1795, allocations: 3.938 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.1795, allocations: 0 / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1795, allocations: 4 kB / 0.588 GB, free: 0.5625 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 7.753e-05/0.1796, allocations: 113.8 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1796, allocations: 3.938 kB / 0.5882 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.1797, allocations: 15.48 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1797, allocations: 0 / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1797, allocations: 0 / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1797, allocations: 0 / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1798, allocations: 161.5 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1798, allocations: 0 / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.1799, allocations: 8 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1799, allocations: 4.266 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1799, allocations: 0 / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1799, allocations: 4 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1799, allocations: 0 / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.18, allocations: 85.05 kB / 0.5884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.1801, allocations: 85.09 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1801, allocations: 3.938 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.1802, allocations: 0 / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.1802, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1802, allocations: 0 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.1802, allocations: 79.28 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1803, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001847/0.1804, allocations: 12 kB / 0.5886 GB, free: 15.89 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 (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 Backend phase and start with SimCode phase: time 0.0003554/0.1808, allocations: 0.6163 MB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.1809, allocations: 28.08 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1809, allocations: 0 / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.181, allocations: 19.88 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1812, allocations: 11.98 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1817, allocations: 165.8 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1819, allocations: 0.6768 MB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.829e-05/0.182, allocations: 0 / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.182, allocations: 15.38 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.182, allocations: 0 / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.2001, allocations: 1.284 MB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.436, allocations: 16.62 kB / 0.5914 GB, free: 13.06 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X_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_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)