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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9362/0.9362, allocations: 133.9 MB / 443.5 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.12 kB / 0.6141 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1825, allocations: 85.86 MB / 0.6979 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003425/0.1859, allocations: 1.516 MB / 0.6994 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004011/0.1863, allocations: 134 kB / 0.6995 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.1864, allocations: 5.219 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.1864, allocations: 7.922 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.1865, allocations: 5.25 kB / 0.6996 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.1869, allocations: 67.33 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.187, allocations: 61.77 kB / 0.6997 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1871, allocations: 9.5 kB / 0.6997 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.1872, allocations: 28.28 kB / 0.6997 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.1873, allocations: 29.36 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1873, allocations: 4.125 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.1873, allocations: 5.5 kB / 0.6998 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.1873, allocations: 14.72 kB / 0.6998 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.1874, allocations: 25.36 kB / 0.6998 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1875, allocations: 59.45 kB / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1875, allocations: 0 / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1875, allocations: 1.375 kB / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.1876, allocations: 0 / 0.6998 GB, free: 12.24 MB / 0.5137 GB 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.0006452/0.1882, allocations: 374.8 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1882, allocations: 11.3 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.1883, allocations: 5.562 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1883, allocations: 32.12 kB / 0.7003 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.1884, allocations: 7.641 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1885, allocations: 175 kB / 0.7004 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.1886, allocations: 34.39 kB / 0.7005 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1886, allocations: 3.125 kB / 0.7005 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1889, allocations: 81.09 kB / 0.7005 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1889, allocations: 0 / 0.7005 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1889, allocations: 8 kB / 0.7005 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1889, allocations: 1.375 kB / 0.7005 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.1891, allocations: 46.08 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.1897, allocations: 317.9 kB / 0.7009 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1899, allocations: 46.98 kB / 0.7009 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.19, allocations: 26.69 kB / 0.701 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.19, allocations: 1.375 kB / 0.701 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1901, allocations: 43.92 kB / 0.701 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1901, allocations: 0 / 0.701 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004176/0.1905, allocations: 101.4 kB / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1905, allocations: 51.41 kB / 0.7012 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1906, allocations: 107.5 kB / 0.7013 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1906, allocations: 27.08 kB / 0.7013 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1907, allocations: 90.89 kB / 0.7014 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1907, allocations: 17.2 kB / 0.7014 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1908, allocations: 17.84 kB / 0.7014 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1909, allocations: 324.1 kB / 0.7017 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.191, allocations: 22.97 kB / 0.7017 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1911, allocations: 31.45 kB / 0.7018 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1913, allocations: 62.08 kB / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1913, allocations: 1.312 kB / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002447/0.1915, allocations: 90.06 kB / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1916, allocations: 7.094 kB / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1916, allocations: 0 / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1916, allocations: 1.031 kB / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1917, allocations: 22.25 kB / 0.7019 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1917, allocations: 5.406 kB / 0.7019 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.1918, allocations: 7.203 kB / 0.7019 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1918, allocations: 1.969 kB / 0.702 GB, free: 10.17 MB / 0.5137 GB 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.0001017/0.1919, allocations: 117.2 kB / 0.7021 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1919, allocations: 6.359 kB / 0.7021 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.192, allocations: 9.281 kB / 0.7021 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.192, allocations: 0 / 0.7021 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.192, allocations: 4.969 kB / 0.7021 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.192, allocations: 0 / 0.7021 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.1922, allocations: 176.1 kB / 0.7023 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1922, allocations: 0 / 0.7023 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.1923, allocations: 13.23 kB / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1923, allocations: 0 / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1923, allocations: 0 / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1923, allocations: 1.375 kB / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1923, allocations: 0 / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1926, allocations: 181.8 kB / 0.7024 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.1926, allocations: 86.58 kB / 0.7025 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1927, allocations: 5.656 kB / 0.7025 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1928, allocations: 9.047 kB / 0.7025 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1928, allocations: 6.5 kB / 0.7025 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1928, allocations: 2.781 kB / 0.7025 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.1929, allocations: 93.27 kB / 0.7026 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1929, allocations: 0 / 0.7026 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002354/0.1931, allocations: 12.09 kB / 0.7026 GB, free: 9.438 MB / 0.5137 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.0006357/0.1938, allocations: 0.702 MB / 0.7033 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.194, allocations: 56.89 kB / 0.7034 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.194, allocations: 0 / 0.7034 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.1941, allocations: 22.52 kB / 0.7034 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1944, allocations: 13.78 kB / 0.7034 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.196, allocations: 1.333 MB / 0.7047 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1963, allocations: 0.6876 MB / 0.7054 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.1964, allocations: 3.406 kB / 0.7054 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.1964, allocations: 23.08 kB / 0.7054 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.1964, allocations: 0 / 0.7054 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.2125, allocations: 1.816 MB / 0.7072 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.56, allocations: 6.844 kB / 0.7072 GB, free: 5.168 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.550019571965095] Failed to read output from testmodel.py, exit status != 0: 9.03161198698217 8.701954459 8.51124936 Calling exit ...