Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_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.006596/0.006596, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001409/0.00141, allocations: 200 kB / 16.68 MB, free: 5.922 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7998/0.7998, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.19 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1714, allocations: 80.92 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002752/0.1742, allocations: 1.28 MB / 0.6654 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1756, allocations: 0.8306 MB / 0.6662 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.1757, allocations: 0 / 0.6662 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.1757, allocations: 7.938 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.1758, allocations: 0 / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006881/0.1765, allocations: 131.4 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.1766, allocations: 23.92 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.1767, allocations: 4 kB / 0.6664 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.1767, allocations: 15.88 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.1768, allocations: 11.98 kB / 0.6664 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1768, allocations: 0 / 0.6664 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.1772, allocations: 167.8 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1772, allocations: 7.938 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.1773, allocations: 7.984 kB / 0.6666 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1776, allocations: 119.2 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1776, allocations: 0 / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1776, allocations: 0 / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.1776, allocations: 0 / 0.6667 GB, free: 3.684 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.0005174/0.1781, allocations: 367.7 kB / 0.667 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1782, allocations: 17.05 kB / 0.667 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.1782, allocations: 34.75 kB / 0.6671 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1783, allocations: 4.938 kB / 0.6671 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1784, allocations: 168.3 kB / 0.6672 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.1785, allocations: 30.27 kB / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1785, allocations: 384 / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1787, allocations: 49.98 kB / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1787, allocations: 0 / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1788, allocations: 4 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1788, allocations: 0 / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1789, allocations: 23.92 kB / 0.6674 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1791, allocations: 153.7 kB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1793, allocations: 50.59 kB / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.1794, allocations: 16.86 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.1797, allocations: 186.2 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1797, allocations: 34.5 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1797, allocations: 0 / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002523/0.18, allocations: 69.61 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.18, allocations: 51.41 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.1801, allocations: 105.8 kB / 0.668 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1801, allocations: 25.7 kB / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.1802, allocations: 80.14 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1802, allocations: 15.75 kB / 0.6681 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1803, allocations: 17.72 kB / 0.6681 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1804, allocations: 314.8 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.1804, allocations: 8 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.1805, allocations: 11.98 kB / 0.6684 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.1806, allocations: 28.86 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1806, allocations: 0 / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.1807, allocations: 57.61 kB / 0.6685 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1808, allocations: 15.88 kB / 0.6685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1808, allocations: 0 / 0.6685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1808, allocations: 4 kB / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.1809, allocations: 8 kB / 0.6685 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1809, allocations: 3.984 kB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.1809, allocations: 4 kB / 0.6686 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1809, allocations: 0.5156 kB / 0.6686 GB, free: 1.484 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.412e-05/0.181, allocations: 113.8 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.181, allocations: 7.844 kB / 0.6687 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.1812, allocations: 73.09 kB / 0.6687 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1812, allocations: 0 / 0.6687 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1812, allocations: 0 / 0.6687 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1812, allocations: 0 / 0.6687 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.1814, allocations: 161.7 kB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1814, allocations: 4 kB / 0.6689 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.1814, allocations: 7.984 kB / 0.6689 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1814, allocations: 7.938 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1815, allocations: 4 kB / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1815, allocations: 0 / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1815, allocations: 0 / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1816, allocations: 81.11 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.1817, allocations: 88.98 kB / 0.6691 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1817, allocations: 4 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.1818, allocations: 3.984 kB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1818, allocations: 0 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1818, allocations: 4 kB / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.18e-05/0.1819, allocations: 83.22 kB / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1819, allocations: 4 kB / 0.6692 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002414/0.1821, allocations: 31.92 kB / 0.6692 GB, free: 0.707 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.0005761/0.1827, allocations: 0.6605 MB / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.1829, allocations: 35.92 kB / 0.6699 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1829, allocations: 0 / 0.6699 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.183, allocations: 12 kB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1832, allocations: 13.86 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.1837, allocations: 168.6 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.184, allocations: 0.6806 MB / 0.6707 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.1841, allocations: 8 kB / 0.6707 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1841, allocations: 15.44 kB / 0.6708 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.1841, allocations: 0 / 0.6708 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.2048, allocations: 1.938 MB / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.585, allocations: 13.78 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)