Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.006634/0.006634, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001628/0.001628, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.84/0.84, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 68.47 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1714, allocations: 80.19 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003298/0.1748, allocations: 1.652 MB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.1756, allocations: 414.7 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.1758, allocations: 0 / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1759, allocations: 15.8 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.176, allocations: 19.8 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.1765, allocations: 125.7 kB / 0.6613 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1767, allocations: 107.6 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1769, allocations: 44.22 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.177, allocations: 39.84 kB / 0.6615 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1771, allocations: 47.78 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1771, allocations: 8 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1773, allocations: 59.95 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.1773, allocations: 23.91 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.1774, allocations: 47.78 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1777, allocations: 127.5 kB / 0.6618 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1777, allocations: 0 / 0.6618 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1777, allocations: 4 kB / 0.6618 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1777, allocations: 0 / 0.6618 GB, free: 11.23 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007173/0.1784, allocations: 421 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1785, allocations: 12.03 kB / 0.6622 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.1786, allocations: 34.75 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.1788, allocations: 36.86 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1791, allocations: 200.1 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.636e-05/0.1792, allocations: 30.27 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1792, allocations: 8.375 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1795, allocations: 113.9 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1796, allocations: 3.938 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1796, allocations: 0 / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1796, allocations: 0 / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.1799, allocations: 83.88 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.1807, allocations: 384.6 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.1813, allocations: 130.5 kB / 0.6632 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1814, allocations: 44.88 kB / 0.6633 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1814, allocations: 0 / 0.6633 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1815, allocations: 30.56 kB / 0.6633 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1815, allocations: 0 / 0.6633 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004737/0.182, allocations: 141.7 kB / 0.6634 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.182, allocations: 55.34 kB / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1822, allocations: 144.6 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1822, allocations: 25.7 kB / 0.6636 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.1823, allocations: 108 kB / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1823, allocations: 23.8 kB / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1824, allocations: 17.72 kB / 0.6638 GB, free: 9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1825, allocations: 322.8 kB / 0.6641 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1827, allocations: 31.97 kB / 0.6641 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1828, allocations: 45.7 kB / 0.6642 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.183, allocations: 77.61 kB / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.183, allocations: 0 / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002933/0.1833, allocations: 109.6 kB / 0.6643 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1834, allocations: 8 kB / 0.6644 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1834, allocations: 0 / 0.6644 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1834, allocations: 7.938 kB / 0.6644 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1835, allocations: 23.92 kB / 0.6644 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1835, allocations: 0 / 0.6644 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.1836, allocations: 15.94 kB / 0.6644 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1836, allocations: 3.984 kB / 0.6644 GB, free: 8.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001069/0.1837, allocations: 113.8 kB / 0.6645 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.1838, allocations: 11.95 kB / 0.6645 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1838, allocations: 20.7 kB / 0.6645 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1839, allocations: 7.875 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1839, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1839, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.1841, allocations: 197.6 kB / 0.6647 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1841, allocations: 3.984 kB / 0.6647 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1842, allocations: 12 kB / 0.6648 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1842, allocations: 0 / 0.6648 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1843, allocations: 3.984 kB / 0.6648 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1843, allocations: 7.938 kB / 0.6648 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1843, allocations: 3.938 kB / 0.6648 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1846, allocations: 207.5 kB / 0.665 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.1847, allocations: 85 kB / 0.6651 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1847, allocations: 0 / 0.6651 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1849, allocations: 15.92 kB / 0.6651 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1849, allocations: 11.98 kB / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1849, allocations: 4 kB / 0.6651 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.154e-05/0.185, allocations: 113 kB / 0.6652 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.185, allocations: 0 / 0.6652 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002524/0.1853, allocations: 19.95 kB / 0.6652 GB, free: 7.418 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 (7): * Single equations (assignments): 7 * 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.0006904/0.186, allocations: 0.7364 MB / 0.6659 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1863, allocations: 72 kB / 0.666 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1863, allocations: 3.938 kB / 0.666 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1864, allocations: 39.92 kB / 0.666 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1868, allocations: 35.97 kB / 0.6661 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.1889, allocations: 1.552 MB / 0.6676 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1892, allocations: 0.6924 MB / 0.6683 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.795e-05/0.1893, allocations: 16.66 kB / 0.6683 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.1894, allocations: 23.44 kB / 0.6683 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1894, allocations: 0 / 0.6683 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.2142, allocations: 2.715 MB / 0.671 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.445, allocations: 15.56 kB / 0.671 GB, free: 1.547 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)