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.00535/0.00535, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001172/0.001172, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.841/0.841, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 76 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1767, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002342/0.179, allocations: 1.254 MB / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1805, allocations: 0.8835 MB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1805, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1805, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.1806, allocations: 3.938 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.1813, allocations: 202.3 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.192e-05/0.1814, allocations: 15.94 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.1814, allocations: 4 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.1815, allocations: 15.92 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.1816, allocations: 7.984 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1816, allocations: 4 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.182, allocations: 231.1 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.182, allocations: 4 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.182, allocations: 11.94 kB / 0.6618 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1823, allocations: 151.7 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1823, allocations: 3.938 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1823, allocations: 0 / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1824, allocations: 0 / 0.6619 GB, free: 11.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004298/0.1828, allocations: 369.2 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1828, allocations: 8.031 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.1829, allocations: 34.73 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.1831, allocations: 12.89 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1832, allocations: 164.4 kB / 0.6625 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1832, allocations: 384 / 0.6625 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1832, allocations: 7.938 kB / 0.6625 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1833, allocations: 41.69 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1834, allocations: 4 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1834, allocations: 0 / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1834, allocations: 11.94 kB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.1835, allocations: 19.92 kB / 0.6626 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1836, allocations: 153.7 kB / 0.6627 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.1845, allocations: 134.5 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.1845, allocations: 24.84 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.1847, allocations: 85.09 kB / 0.6629 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1847, allocations: 30.56 kB / 0.663 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1847, allocations: 0 / 0.663 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.1849, allocations: 61.62 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1849, allocations: 55.41 kB / 0.6631 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.185, allocations: 101.8 kB / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.185, allocations: 25.7 kB / 0.6632 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.185, allocations: 80.14 kB / 0.6633 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.1851, allocations: 19.78 kB / 0.6633 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1851, allocations: 17.72 kB / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.1852, allocations: 310.8 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.1852, allocations: 11.98 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.1853, allocations: 4.125 kB / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.1853, allocations: 32.84 kB / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1853, allocations: 0 / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.723e-05/0.1854, allocations: 61.56 kB / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1854, allocations: 4 kB / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1854, allocations: 0 / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1855, allocations: 4 kB / 0.6637 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.1855, allocations: 4 kB / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1855, allocations: 0 / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.1856, allocations: 4 kB / 0.6637 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1856, allocations: 4 kB / 0.6637 GB, free: 9.082 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 (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.356e-05/0.1857, allocations: 113.8 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.1857, allocations: 7.938 kB / 0.6638 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.1859, allocations: 81.11 kB / 0.6639 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1859, allocations: 4 kB / 0.6639 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1859, allocations: 0 / 0.6639 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.186, allocations: 0 / 0.6639 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1861, allocations: 165.6 kB / 0.6641 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1861, allocations: 0 / 0.6641 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.1861, allocations: 8 kB / 0.6641 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1861, allocations: 3.938 kB / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1862, allocations: 0 / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1862, allocations: 0 / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1862, allocations: 0 / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.1863, allocations: 101 kB / 0.6642 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.1864, allocations: 89.06 kB / 0.6643 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1864, allocations: 0 / 0.6643 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.1864, allocations: 0 / 0.6643 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.1864, allocations: 7.984 kB / 0.6643 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1865, allocations: 0 / 0.6643 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.1865, allocations: 75.28 kB / 0.6644 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1865, allocations: 7.938 kB / 0.6644 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002447/0.1868, allocations: 51.97 kB / 0.6644 GB, free: 8.27 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 (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.0005928/0.1873, allocations: 0.6871 MB / 0.6651 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.1875, allocations: 23.94 kB / 0.6651 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1875, allocations: 8 kB / 0.6651 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.1875, allocations: 15.98 kB / 0.6651 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.1877, allocations: 8 kB / 0.6651 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.1881, allocations: 178.8 kB / 0.6653 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1884, allocations: 0.6768 MB / 0.666 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.091e-05/0.1884, allocations: 8 kB / 0.666 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.1885, allocations: 15.38 kB / 0.666 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1885, allocations: 0 / 0.666 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.2088, allocations: 1.956 MB / 0.6679 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.721, allocations: 14.83 kB / 0.6679 GB, free: 4.746 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)