Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001559/0.001559, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7953/0.7953, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 63.52 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1846, allocations: 80.2 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002521/0.1871, allocations: 1.502 MB / 0.5817 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.1874, allocations: 129.3 kB / 0.5818 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.1875, allocations: 4 kB / 0.5818 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.1875, allocations: 3.938 kB / 0.5818 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.1876, allocations: 3.938 kB / 0.5818 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1879, allocations: 74.45 kB / 0.5819 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.188, allocations: 55.91 kB / 0.5819 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.1881, allocations: 15.98 kB / 0.5819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.1882, allocations: 27.91 kB / 0.582 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.1882, allocations: 27.86 kB / 0.582 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1882, allocations: 4 kB / 0.582 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.1883, allocations: 8 kB / 0.582 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.1883, allocations: 11.98 kB / 0.582 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.1883, allocations: 27.86 kB / 0.582 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.1884, allocations: 52.14 kB / 0.5821 GB, free: 6.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1884, allocations: 0 / 0.5821 GB, free: 6.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1884, allocations: 0 / 0.5821 GB, free: 6.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1885, allocations: 0 / 0.5821 GB, free: 6.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004573/0.1889, allocations: 379.2 kB / 0.5824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.189, allocations: 11.97 kB / 0.5825 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.189, allocations: 34.75 kB / 0.5825 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.189, allocations: 8.938 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.1891, allocations: 176.2 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.1892, allocations: 30.27 kB / 0.5827 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1892, allocations: 4.375 kB / 0.5827 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1894, allocations: 81.95 kB / 0.5828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1894, allocations: 4 kB / 0.5828 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1895, allocations: 3.984 kB / 0.5828 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1895, allocations: 0 / 0.5828 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.1896, allocations: 43.95 kB / 0.5828 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.1904, allocations: 320.7 kB / 0.5831 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1906, allocations: 50.55 kB / 0.5832 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1907, allocations: 24.94 kB / 0.5832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1908, allocations: 0 / 0.5832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1908, allocations: 38.55 kB / 0.5832 GB, free: 5.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.1908, allocations: 4 kB / 0.5832 GB, free: 5.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005346/0.1914, allocations: 101.5 kB / 0.5833 GB, free: 5.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1914, allocations: 51.41 kB / 0.5834 GB, free: 5.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1915, allocations: 105.8 kB / 0.5835 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1916, allocations: 29.7 kB / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1916, allocations: 95.98 kB / 0.5836 GB, free: 4.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1917, allocations: 11.89 kB / 0.5836 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.1917, allocations: 17.72 kB / 0.5836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1919, allocations: 318.8 kB / 0.5839 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1921, allocations: 23.97 kB / 0.584 GB, free: 4.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1922, allocations: 29.7 kB / 0.584 GB, free: 4.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1925, allocations: 69.61 kB / 0.5841 GB, free: 4.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1925, allocations: 0 / 0.5841 GB, free: 4.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003533/0.1929, allocations: 89.5 kB / 0.5841 GB, free: 4.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1929, allocations: 6.344 kB / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1929, allocations: 0 / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.193, allocations: 0 / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1931, allocations: 20.11 kB / 0.5842 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1931, allocations: 4.031 kB / 0.5842 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.1932, allocations: 11.98 kB / 0.5842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1933, allocations: 3.938 kB / 0.5842 GB, free: 4.34 MB / 494.1 MB 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 (5): * Single equations (assignments): 5 * 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.0001158/0.1934, allocations: 117.8 kB / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1934, allocations: 4 kB / 0.5843 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.1935, allocations: 3.906 kB / 0.5843 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1935, allocations: 0 / 0.5843 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1935, allocations: 3.938 kB / 0.5843 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1935, allocations: 4 kB / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1938, allocations: 189.4 kB / 0.5845 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1938, allocations: 240 / 0.5845 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1939, allocations: 11.98 kB / 0.5845 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.194, allocations: 0 / 0.5845 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.194, allocations: 3.938 kB / 0.5845 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.194, allocations: 0 / 0.5845 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.194, allocations: 7.984 kB / 0.5845 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.1944, allocations: 179.4 kB / 0.5847 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.1944, allocations: 85.02 kB / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1945, allocations: 0 / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1947, allocations: 7.984 kB / 0.5848 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1947, allocations: 4 kB / 0.5848 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1947, allocations: 0 / 0.5848 GB, free: 3.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.1948, allocations: 95.33 kB / 0.5849 GB, free: 3.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1948, allocations: 4 kB / 0.5849 GB, free: 3.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.1953, allocations: 8 kB / 0.5849 GB, free: 3.527 MB / 494.1 MB 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.0007053/0.196, allocations: 0.7045 MB / 0.5856 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1963, allocations: 59.95 kB / 0.5856 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1963, allocations: 0 / 0.5856 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1965, allocations: 27.92 kB / 0.5857 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.1969, allocations: 0 / 0.5857 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1986, allocations: 1.332 MB / 0.587 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.1988, allocations: 0.6807 MB / 0.5876 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.1989, allocations: 8 kB / 0.5876 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1989, allocations: 15.44 kB / 0.5876 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1989, allocations: 0 / 0.5876 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06377/0.2627, allocations: 1.743 MB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8, allocations: 5.422 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)