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.001137/0.001137, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007389/0.007389, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1809, allocations: 82.31 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001311/0.1823, allocations: 0.99 MB / 0.5891 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1836, allocations: 0.8282 MB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.1837, allocations: 0 / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.1837, allocations: 0 / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.1837, allocations: 7.922 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.1842, allocations: 111.5 kB / 0.59 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.1843, allocations: 23.92 kB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.1843, allocations: 8 kB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.1844, allocations: 8 kB / 0.59 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.1845, allocations: 11.92 kB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1845, allocations: 4 kB / 0.59 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.1848, allocations: 171.7 kB / 0.5902 GB, free: 336 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.1848, allocations: 4 kB / 0.5902 GB, free: 332 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.1849, allocations: 37.62 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1851, allocations: 124 kB / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1851, allocations: 0 / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1851, allocations: 0 / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1851, allocations: 4 kB / 0.5904 GB, free: 160 kB / 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.0004169/0.1856, allocations: 359.3 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1856, allocations: 12.03 kB / 0.5907 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.1857, allocations: 34.73 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1857, allocations: 4.938 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1858, allocations: 160.4 kB / 0.5909 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.1859, allocations: 30.27 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1859, allocations: 384 / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.186, allocations: 50 kB / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.186, allocations: 7.969 kB / 0.591 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1861, allocations: 4 kB / 0.591 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1861, allocations: 4 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.1862, allocations: 19.86 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1863, allocations: 157.7 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1865, allocations: 42.56 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1866, allocations: 20.86 kB / 0.5912 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.1869, allocations: 178.3 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1869, allocations: 34.5 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1869, allocations: 0 / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002629/0.1872, allocations: 73.52 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1872, allocations: 55.41 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.1873, allocations: 101.8 kB / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1873, allocations: 25.7 kB / 0.5917 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.1874, allocations: 80.14 kB / 0.5917 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1874, allocations: 15.89 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.1874, allocations: 9.719 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1875, allocations: 314.8 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.1876, allocations: 12 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.1876, allocations: 11.98 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.1877, allocations: 32.84 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1877, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001255/0.1879, allocations: 57.53 kB / 0.5922 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1879, allocations: 7.938 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1879, allocations: 0 / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1879, allocations: 4 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.188, allocations: 4 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.188, allocations: 7.984 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.188, allocations: 7.938 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.188, allocations: 0 / 0.5922 GB, free: 13.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 7.384e-05/0.1881, allocations: 109.8 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.1881, allocations: 7.938 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.1883, allocations: 69.61 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1883, allocations: 4 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1883, allocations: 7.938 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1883, allocations: 4 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1884, allocations: 153.7 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1884, allocations: 48 / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.1885, allocations: 15.97 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1885, allocations: 7.875 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1885, allocations: 4 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1885, allocations: 0 / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1885, allocations: 0 / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1887, allocations: 92.95 kB / 0.5927 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.1888, allocations: 85.05 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.1888, allocations: 0 / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.1888, allocations: 7.984 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1889, allocations: 0 / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1889, allocations: 0 / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.1889, allocations: 83.28 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1889, allocations: 0 / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002333/0.1892, allocations: 39.92 kB / 0.5929 GB, free: 13.19 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.0005261/0.1897, allocations: 0.655 MB / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.1898, allocations: 31.91 kB / 0.5935 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1899, allocations: 0 / 0.5935 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.1899, allocations: 16 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1901, allocations: 11.98 kB / 0.5936 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1905, allocations: 188 kB / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1908, allocations: 0.677 MB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.1908, allocations: 8 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1909, allocations: 15.44 kB / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1909, allocations: 0 / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2287/0.4196, allocations: 1.726 MB / 0.5961 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.4198, allocations: 202.4 kB / 0.5963 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.069, allocations: 0 / 0.5963 GB, free: 9.684 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/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)