Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.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.002401/0.002401, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002666/0.002666, allocations: 213.9 kB / 22.25 MB, free: 3.582 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 1.692/1.692, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.473/1.473, allocations: 316.8 MB / 0.6144 GB, free: 93.5 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride") [Timeout 660] "Notification: Pharmacolibrary 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.004621/0.004621, allocations: 79.94 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1759, allocations: 73.98 MB / 0.8473 GB, free: 5.133 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride): time 0.003884/0.1798, allocations: 1.835 MB / 0.8491 GB, free: 3.301 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1811, allocations: 0.5421 MB / 0.8496 GB, free: 2.758 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.1811, allocations: 0 / 0.8496 GB, free: 2.758 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1813, allocations: 20.44 kB / 0.8496 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1817, allocations: 69.69 kB / 0.8497 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1818, allocations: 53.52 kB / 0.8497 GB, free: 2.621 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1821, allocations: 171.3 kB / 0.8499 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1822, allocations: 5.312 kB / 0.8499 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1823, allocations: 73.11 kB / 0.85 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.1827, allocations: 87.64 kB / 0.8501 GB, free: 2.293 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.1827, allocations: 4 kB / 0.8501 GB, free: 2.289 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.1827, allocations: 10.62 kB / 0.8501 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.1828, allocations: 27.91 kB / 0.8501 GB, free: 2.254 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1829, allocations: 55.77 kB / 0.8502 GB, free: 2.199 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1832, allocations: 99.52 kB / 0.8503 GB, free: 2.102 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1832, allocations: 0 / 0.8503 GB, free: 2.102 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1832, allocations: 0 / 0.8503 GB, free: 2.102 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1832, allocations: 0 / 0.8503 GB, free: 2.102 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001279/0.1844, allocations: 389.3 kB / 0.8506 GB, free: 1.688 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1845, allocations: 11.89 kB / 0.8506 GB, free: 1.676 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1846, allocations: 17.41 kB / 0.8507 GB, free: 1.66 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1849, allocations: 147.4 kB / 0.8508 GB, free: 1.492 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1849, allocations: 12.36 kB / 0.8508 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1849, allocations: 12.72 kB / 0.8508 GB, free: 1.469 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1852, allocations: 101.6 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1852, allocations: 0.6562 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1852, allocations: 0 / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1852, allocations: 4.594 kB / 0.8509 GB, free: 1.363 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.1855, allocations: 84.62 kB / 0.851 GB, free: 1.281 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.1861, allocations: 284.9 kB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.1865, allocations: 135.4 kB / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1867, allocations: 53.41 kB / 0.8514 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1867, allocations: 8.547 kB / 0.8515 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.187, allocations: 109.3 kB / 0.8516 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.187, allocations: 0 / 0.8516 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006501/0.1877, allocations: 200.5 kB / 0.8518 GB, free: 464 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1877, allocations: 59.41 kB / 0.8518 GB, free: 392 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1879, allocations: 154.5 kB / 0.852 GB, free: 228 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.1879, allocations: 29.7 kB / 0.852 GB, free: 192 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.188, allocations: 108.1 kB / 0.8521 GB, free: 80 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.1881, allocations: 47.62 kB / 0.8521 GB, free: 32 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1882, allocations: 33.7 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1884, allocations: 331.9 kB / 0.8525 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1886, allocations: 81.66 kB / 0.8526 GB, free: 15.57 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.1889, allocations: 206.5 kB / 0.8528 GB, free: 15.34 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.1893, allocations: 142.4 kB / 0.8529 GB, free: 15.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1893, allocations: 0 / 0.8529 GB, free: 15.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004849/0.1897, allocations: 240.9 kB / 0.8531 GB, free: 14.94 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.1898, allocations: 29.7 kB / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1898, allocations: 0 / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1898, allocations: 4 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.19, allocations: 35.91 kB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.19, allocations: 1.156 kB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1902, allocations: 19.88 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1902, allocations: 8 kB / 0.8532 GB, free: 14.84 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001374/0.1903, allocations: 130.6 kB / 0.8533 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1904, allocations: 8.547 kB / 0.8533 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.1908, allocations: 175 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1908, allocations: 4.625 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1908, allocations: 0 / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1908, allocations: 0.8125 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.191, allocations: 149.8 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.191, allocations: 3.938 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1912, allocations: 24.55 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.1912, allocations: 8.484 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1912, allocations: 4.5 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1912, allocations: 0 / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1912, allocations: 0.5 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.1922, allocations: 252.9 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1922, allocations: 20.53 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1922, allocations: 4 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1924, allocations: 13.11 kB / 0.854 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.1924, allocations: 15.97 kB / 0.854 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1924, allocations: 4.625 kB / 0.854 GB, free: 13.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1926, allocations: 121.9 kB / 0.8541 GB, free: 13.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1926, allocations: 0.5938 kB / 0.8541 GB, free: 13.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002181/0.1928, allocations: 32.5 kB / 0.8541 GB, free: 13.84 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000154/0.1929, allocations: 102.2 kB / 0.8542 GB, free: 13.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.1934, allocations: 214.1 kB / 0.8545 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1935, allocations: 4.594 kB / 0.8545 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1936, allocations: 60.7 kB / 0.8545 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.194, allocations: 37.94 kB / 0.8545 GB, free: 13.41 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.1947, allocations: 330.7 kB / 0.8549 GB, free: 13.06 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.1949, allocations: 110.7 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.195, allocations: 24.86 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.195, allocations: 19.42 kB / 0.855 GB, free: 12.89 MB / 490.8 MB Notification: Performance of SimCode: time 3.81e-07/0.195, allocations: 0.6875 kB / 0.855 GB, free: 12.89 MB / 490.8 MB Notification: Performance of Templates: time 0.3039/0.4989, allocations: 2.616 MB / 0.8576 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumTelluride.CadmiumTelluride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.461754048941657]