Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.0009002/0.0009002, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002256, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001185/0.001185, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001635/0.00282, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9277/0.9277, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.029, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7895/0.7895, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3051/1.095, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 449.9 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.33e-05, allocations: 10.47 kB / 450 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003388/0.003411, allocations: 1.986 MB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1495/0.1529, allocations: 147.5 MB / 0.5854 GB, free: 15.09 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.153, allocations: 4 kB / 0.5854 GB, free: 15.08 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1532, allocations: 27.67 kB / 0.5854 GB, free: 15.05 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1534, allocations: 75.34 kB / 0.5855 GB, free: 14.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.154, allocations: 266.9 kB / 0.5857 GB, free: 14.72 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1543, allocations: 271 kB / 0.586 GB, free: 14.45 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1545, allocations: 59.17 kB / 0.586 GB, free: 14.39 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.1555, allocations: 359.8 kB / 0.5864 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1556, allocations: 79.78 kB / 0.5864 GB, free: 14.04 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1556, allocations: 12 kB / 0.5865 GB, free: 14.02 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.156, allocations: 187.6 kB / 0.5866 GB, free: 13.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.156, allocations: 31.88 kB / 0.5867 GB, free: 13.81 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1561, allocations: 47.94 kB / 0.5867 GB, free: 13.76 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1565, allocations: 235.2 kB / 0.5869 GB, free: 13.53 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.1565, allocations: 0 / 0.5869 GB, free: 13.53 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1565, allocations: 0 / 0.5869 GB, free: 13.53 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1565, allocations: 0 / 0.5869 GB, free: 13.53 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006243/0.1571, allocations: 493.7 kB / 0.5874 GB, free: 13.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.567e-05/0.1571, allocations: 8.031 kB / 0.5874 GB, free: 13.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007953/0.1579, allocations: 240.7 kB / 0.5876 GB, free: 12.77 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1582, allocations: 160.9 kB / 0.5878 GB, free: 12.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.1582, allocations: 67.73 kB / 0.5879 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1582, allocations: 12 kB / 0.5879 GB, free: 12.49 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.1585, allocations: 278.7 kB / 0.5881 GB, free: 12.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1586, allocations: 0 / 0.5881 GB, free: 12.18 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1586, allocations: 12 kB / 0.5882 GB, free: 12.16 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1586, allocations: 7.938 kB / 0.5882 GB, free: 12.16 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1587, allocations: 71.83 kB / 0.5882 GB, free: 12.09 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.1596, allocations: 0.941 MB / 0.5891 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.16, allocations: 137.3 kB / 0.5893 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.16, allocations: 24.84 kB / 0.5893 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1601, allocations: 7.938 kB / 0.5893 GB, free: 10.92 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1601, allocations: 34.56 kB / 0.5893 GB, free: 10.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.1601, allocations: 4 kB / 0.5893 GB, free: 10.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.001162/0.1612, allocations: 347.4 kB / 0.5897 GB, free: 10.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1613, allocations: 55.41 kB / 0.5897 GB, free: 10.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1614, allocations: 183.2 kB / 0.5899 GB, free: 10.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1614, allocations: 33.7 kB / 0.5899 GB, free: 10.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1615, allocations: 140.1 kB / 0.5901 GB, free: 10.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1615, allocations: 43.64 kB / 0.5901 GB, free: 10.04 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.1616, allocations: 45.62 kB / 0.5902 GB, free: 9.992 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1617, allocations: 326.8 kB / 0.5905 GB, free: 9.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.1618, allocations: 23.97 kB / 0.5905 GB, free: 9.641 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.1619, allocations: 81.22 kB / 0.5906 GB, free: 9.539 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.162, allocations: 132.5 kB / 0.5907 GB, free: 9.387 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.162, allocations: 0 / 0.5907 GB, free: 9.387 MB / 0.573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005995/0.1626, allocations: 249.9 kB / 0.5909 GB, free: 9.129 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1626, allocations: 12 kB / 0.5909 GB, free: 9.117 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1626, allocations: 0 / 0.5909 GB, free: 9.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008473/0.1635, allocations: 232.3 kB / 0.5912 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1636, allocations: 47.89 kB / 0.5912 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.166, allocations: 2.629 MB / 0.5938 GB, free: 6.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.1662, allocations: 31.83 kB / 0.5938 GB, free: 5.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.1662, allocations: 11.94 kB / 0.5938 GB, free: 5.969 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/0.1663, allocations: 124.7 kB / 0.5939 GB, free: 5.836 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1663, allocations: 11.94 kB / 0.594 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1669, allocations: 267.1 kB / 0.5942 GB, free: 5.555 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1669, allocations: 7.938 kB / 0.5942 GB, free: 5.547 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1669, allocations: 0 / 0.5942 GB, free: 5.547 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1669, allocations: 0 / 0.5942 GB, free: 5.547 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1671, allocations: 125.8 kB / 0.5943 GB, free: 5.406 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1671, allocations: 0 / 0.5943 GB, free: 5.406 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.1672, allocations: 19.98 kB / 0.5944 GB, free: 5.387 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1672, allocations: 31.83 kB / 0.5944 GB, free: 5.355 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/0.1679, allocations: 211.2 kB / 0.5946 GB, free: 5.141 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1679, allocations: 12 kB / 0.5946 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.1698, allocations: 2.654 MB / 0.5972 GB, free: 2.273 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1698, allocations: 0 / 0.5972 GB, free: 2.273 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.1703, allocations: 321.6 kB / 0.5975 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1703, allocations: 4.109 kB / 0.5975 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1705, allocations: 12 kB / 0.5975 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.1705, allocations: 23.91 kB / 0.5975 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1705, allocations: 3.984 kB / 0.5975 GB, free: 1.895 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.1706, allocations: 48.81 kB / 0.5976 GB, free: 1.844 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.1706, allocations: 4 kB / 0.5976 GB, free: 1.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003375/0.1709, allocations: 75.83 kB / 0.5977 GB, free: 1.766 MB / 0.573 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.1711, allocations: 100.3 kB / 0.5978 GB, free: 1.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004528/0.1715, allocations: 365.7 kB / 0.5981 GB, free: 1.273 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.1715, allocations: 4 kB / 0.5981 GB, free: 1.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.1719, allocations: 330.6 kB / 0.5984 GB, free: 0.918 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.1722, allocations: 116.6 kB / 0.5985 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1741, allocations: 427.9 kB / 0.5989 GB, free: 364 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.1742, allocations: 84.33 kB / 0.599 GB, free: 260 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.1743, allocations: 29.47 kB / 0.599 GB, free: 232 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.1745, allocations: 91.33 kB / 0.5991 GB, free: 140 kB / 0.573 GB Notification: Performance of SimCode: time 4.71e-07/0.1745, allocations: 3.938 kB / 0.5991 GB, free: 136 kB / 0.573 GB Notification: Performance of Templates: time 0.01686/0.1913, allocations: 5.292 MB / 0.6043 GB, free: 10.95 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8984571183100343]