Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.005941/0.005941, allocations: 99.5 kB / 15.73 MB, free: 6.016 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.001112/0.001112, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8134/0.8134, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.34 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1938, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002785/0.1967, allocations: 1.25 MB / 0.6604 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1982, allocations: 0.8447 MB / 0.6612 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1982, allocations: 0 / 0.6612 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.1982, allocations: 4 kB / 0.6612 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.1983, allocations: 7.922 kB / 0.6613 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.199, allocations: 131.4 kB / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.1991, allocations: 23.92 kB / 0.6614 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.1992, allocations: 4 kB / 0.6614 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.1992, allocations: 11.94 kB / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.1993, allocations: 11.97 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1993, allocations: 4 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.1997, allocations: 163.7 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.1997, allocations: 11.98 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.1998, allocations: 15.92 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.2001, allocations: 119.9 kB / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2001, allocations: 0 / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2001, allocations: 0 / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2001, allocations: 0 / 0.6617 GB, free: 8.176 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.0006036/0.2007, allocations: 359.2 kB / 0.6621 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.2008, allocations: 8.031 kB / 0.6621 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.2008, allocations: 38.75 kB / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.2009, allocations: 16.84 kB / 0.6621 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.201, allocations: 164.4 kB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.2011, allocations: 30.27 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2012, allocations: 384 / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2013, allocations: 49.94 kB / 0.6624 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2013, allocations: 0 / 0.6624 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2014, allocations: 4 kB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2014, allocations: 3.984 kB / 0.6624 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.2015, allocations: 19.98 kB / 0.6624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.2017, allocations: 161.7 kB / 0.6625 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.2019, allocations: 42.56 kB / 0.6626 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.202, allocations: 16.86 kB / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.2023, allocations: 182.3 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2024, allocations: 38.44 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2024, allocations: 0 / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002979/0.2027, allocations: 65.67 kB / 0.6629 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2027, allocations: 51.41 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.2028, allocations: 101.8 kB / 0.663 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2029, allocations: 25.7 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2029, allocations: 84.14 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2029, allocations: 15.84 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.203, allocations: 17.72 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2031, allocations: 318.8 kB / 0.6635 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.2032, allocations: 12 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.2032, allocations: 11.92 kB / 0.6635 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.2033, allocations: 28.84 kB / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2033, allocations: 4 kB / 0.6635 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.2035, allocations: 54.16 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2035, allocations: 7.938 kB / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2035, allocations: 0 / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2035, allocations: 48 / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.2036, allocations: 15.97 kB / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2036, allocations: 0 / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.2036, allocations: 0 / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2037, allocations: 8 kB / 0.6636 GB, free: 5.98 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 8.03e-05/0.2037, allocations: 113.8 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.2038, allocations: 15.83 kB / 0.6637 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.204, allocations: 61.17 kB / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.204, allocations: 0 / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.204, allocations: 4 kB / 0.6638 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.204, allocations: 0 / 0.6638 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.2041, allocations: 153.7 kB / 0.6639 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2041, allocations: 4 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.2042, allocations: 11.98 kB / 0.6639 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2042, allocations: 7.938 kB / 0.664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2042, allocations: 4 kB / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2042, allocations: 0 / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2042, allocations: 3.938 kB / 0.664 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2044, allocations: 81.11 kB / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.2045, allocations: 85.05 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2045, allocations: 0 / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.2045, allocations: 7.984 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.2046, allocations: 4 kB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.2046, allocations: 0 / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.2046, allocations: 83.28 kB / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2046, allocations: 0 / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002424/0.2049, allocations: 39.8 kB / 0.6643 GB, free: 5.203 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.0005549/0.2054, allocations: 0.6629 MB / 0.6649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.2056, allocations: 27.97 kB / 0.6649 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2056, allocations: 0 / 0.6649 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.2057, allocations: 15.94 kB / 0.6649 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.2059, allocations: 11.92 kB / 0.665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.2064, allocations: 183 kB / 0.6651 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2067, allocations: 0.6729 MB / 0.6658 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.2067, allocations: 7.984 kB / 0.6658 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.2068, allocations: 11.42 kB / 0.6658 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2068, allocations: 4 kB / 0.6658 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.2271, allocations: 1.921 MB / 0.6677 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.593, allocations: 17.91 kB / 0.6677 GB, free: 1.707 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)