Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.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.002301/0.002301, 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.008884/0.008884, allocations: 209.9 kB / 22.25 MB, free: 3.578 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.812/1.812, allocations: 230.6 MB / 256 MB, free: 9.598 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.449/1.449, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") [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.003825/0.003825, allocations: 77.22 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1806, allocations: 73.98 MB / 0.8473 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase): time 0.003952/0.1845, allocations: 1.832 MB / 0.8491 GB, free: 3.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.186, allocations: 0.5419 MB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.186, allocations: 0.75 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1862, allocations: 15.84 kB / 0.8496 GB, free: 2.488 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.1866, allocations: 73.62 kB / 0.8497 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1868, allocations: 61.61 kB / 0.8497 GB, free: 2.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.1871, allocations: 163.3 kB / 0.8499 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.1871, allocations: 10.02 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1873, allocations: 75.7 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.1876, allocations: 80.8 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.1876, allocations: 8 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.1876, allocations: 11.94 kB / 0.8501 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.1877, allocations: 28.41 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.1878, allocations: 52.27 kB / 0.8501 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.188, allocations: 91.58 kB / 0.8502 GB, free: 1.855 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.188, allocations: 4.625 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.188, allocations: 0.6562 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.188, allocations: 0 / 0.8502 GB, free: 1.852 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.0009588/0.1889, allocations: 389.2 kB / 0.8506 GB, free: 1.438 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.189, allocations: 12.66 kB / 0.8506 GB, free: 1.426 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.189, allocations: 12.84 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1893, allocations: 155.5 kB / 0.8508 GB, free: 1.238 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1893, allocations: 8.375 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.1894, allocations: 8.75 kB / 0.8508 GB, free: 1.223 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1897, allocations: 98.25 kB / 0.8509 GB, free: 1.121 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1897, allocations: 0.5938 kB / 0.8509 GB, free: 1.121 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.1897, allocations: 7.938 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1897, allocations: 0.5625 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.19, allocations: 85.61 kB / 0.851 GB, free: 1.031 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009335/0.1909, allocations: 288.3 kB / 0.8512 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.1914, allocations: 136.3 kB / 0.8514 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.1916, allocations: 56.81 kB / 0.8514 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1916, allocations: 4 kB / 0.8514 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.1919, allocations: 107.9 kB / 0.8515 GB, free: 408 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.1919, allocations: 0.9688 kB / 0.8515 GB, free: 408 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006563/0.1926, allocations: 203.5 kB / 0.8517 GB, free: 200 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.1926, allocations: 51.41 kB / 0.8518 GB, free: 136 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1928, allocations: 161.6 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.1929, allocations: 29.7 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.193, allocations: 108.8 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.193, allocations: 47.55 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.1931, allocations: 39.55 kB / 0.8522 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1933, allocations: 330.8 kB / 0.8525 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1935, allocations: 77.66 kB / 0.8525 GB, free: 15.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.1938, allocations: 205.5 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.1942, allocations: 142.4 kB / 0.8529 GB, free: 14.94 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1942, allocations: 1.031 kB / 0.8529 GB, free: 14.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005421/0.1947, allocations: 240.1 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.1948, allocations: 33.7 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1948, allocations: 1.656 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1948, allocations: 0 / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.195, allocations: 31.97 kB / 0.8532 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.195, allocations: 3.938 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1952, allocations: 26.38 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1952, allocations: 8 kB / 0.8532 GB, free: 14.58 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.0001369/0.1953, allocations: 121.8 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1954, allocations: 11.95 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.1959, allocations: 175.4 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1959, allocations: 224 / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1959, allocations: 0.5938 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1959, allocations: 4.438 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1961, allocations: 153.2 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1961, allocations: 0.5 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1964, allocations: 28.69 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1964, allocations: 0.6875 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1964, allocations: 3.938 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.1964, allocations: 4.625 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1964, allocations: 0 / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.1971, allocations: 257.9 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.1972, allocations: 15.91 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1972, allocations: 4.594 kB / 0.854 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1973, allocations: 12.55 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.1974, allocations: 16.56 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1974, allocations: 4 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1976, allocations: 119.9 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1976, allocations: 0 / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002275/0.1978, allocations: 32.62 kB / 0.8541 GB, free: 13.58 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.0001441/0.1979, allocations: 100.6 kB / 0.8542 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.1984, allocations: 213.8 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1984, allocations: 0 / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1986, allocations: 64.52 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.199, allocations: 42.28 kB / 0.8545 GB, free: 13.15 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.1998, allocations: 322.7 kB / 0.8548 GB, free: 12.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1999, allocations: 107.2 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.2, allocations: 24.08 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.2001, allocations: 24.05 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 6.52e-07/0.2001, allocations: 0 / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of Templates: time 0.3177/0.5178, allocations: 2.625 MB / 0.8576 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.675196714000776]