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.0008277/0.0008276, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009379/0.000938, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 15.94 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 82.31 MB / 0.5875 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001426/0.1833, allocations: 0.9862 MB / 0.5884 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1846, allocations: 0.7742 MB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.1846, allocations: 0 / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.1846, allocations: 7.922 kB / 0.5892 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.1847, allocations: 7.984 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.1853, allocations: 103.5 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.1854, allocations: 23.92 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.1855, allocations: 0 / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.1855, allocations: 19.92 kB / 0.5894 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.1856, allocations: 7.984 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1856, allocations: 0 / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.186, allocations: 171.7 kB / 0.5895 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1861, allocations: 4 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1861, allocations: 29.64 kB / 0.5896 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1863, allocations: 96.05 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1863, allocations: 4 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1863, allocations: 0 / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1863, allocations: 0 / 0.5897 GB, free: 0.6094 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.0004993/0.1868, allocations: 355.2 kB / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1869, allocations: 8.031 kB / 0.59 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.187, allocations: 34.56 kB / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.187, allocations: 4 kB / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1872, allocations: 167 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.1873, allocations: 33.7 kB / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1873, allocations: 0 / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1874, allocations: 45.69 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1875, allocations: 0 / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1875, allocations: 3.938 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1875, allocations: 0 / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.1876, allocations: 19.92 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.1878, allocations: 161.6 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.188, allocations: 46.61 kB / 0.5905 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.1881, allocations: 20.94 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.1884, allocations: 178.2 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1885, allocations: 30.56 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1885, allocations: 0 / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.1887, allocations: 77.52 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1888, allocations: 51.41 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.1889, allocations: 102.2 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1889, allocations: 29.64 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.1889, allocations: 84.14 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1889, allocations: 3.906 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.189, allocations: 0 / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1891, allocations: 322.8 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.1892, allocations: 11.98 kB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.1892, allocations: 12.03 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.1892, allocations: 11.98 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1893, allocations: 0 / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.1894, allocations: 61.53 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1894, allocations: 4 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1894, allocations: 0 / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1894, allocations: 4 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.1895, allocations: 11.98 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1895, allocations: 0 / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.1896, allocations: 11.94 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1896, allocations: 3.984 kB / 0.5915 GB, free: 14.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.1897, allocations: 117.8 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.1897, allocations: 0 / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1898, allocations: 65.11 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1899, allocations: 8 kB / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1899, allocations: 0 / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1899, allocations: 3.984 kB / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.19, allocations: 161.6 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.19, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1901, allocations: 8 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1901, allocations: 0 / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1901, allocations: 0 / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1901, allocations: 0 / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1901, allocations: 0 / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1903, allocations: 100.8 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.1903, allocations: 81.11 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1903, allocations: 7.984 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.1904, allocations: 0 / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1904, allocations: 4 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1904, allocations: 0 / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.1905, allocations: 87.2 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1905, allocations: 4 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002408/0.1907, allocations: 35.94 kB / 0.5921 GB, free: 13.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000609/0.1914, allocations: 0.6437 MB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.1915, allocations: 32.34 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1915, allocations: 0 / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.1916, allocations: 12 kB / 0.5928 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1918, allocations: 11.98 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.1922, allocations: 188.5 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1926, allocations: 0.677 MB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.764e-05/0.1926, allocations: 11.98 kB / 0.5937 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1927, allocations: 11.42 kB / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of SimCode: time 9.328e-06/0.1927, allocations: 0 / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.2055, allocations: 1.699 MB / 0.5953 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.2057, allocations: 191.3 kB / 0.5955 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.911, allocations: 4 kB / 0.5955 GB, free: 10.23 MB / 0.4981 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/linux/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) Environment - environmentSimulation: