Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.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.0009089/0.0009089, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.002163, 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.0009124/0.0009124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002122, 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.979/0.979, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09475/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 0.8079/0.8079, allocations: 291.2 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02918/0.8371, allocations: 21.04 MB / 0.5433 GB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 179] 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_Verstraete1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.773e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference): time 0.001665/0.001683, allocations: 1.949 MB / 0.5466 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005863/0.002269, allocations: 0.5754 MB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.002311, allocations: 3.938 kB / 0.5472 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.002355, allocations: 11.86 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.002548, allocations: 67.55 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.002667, allocations: 63.83 kB / 0.5473 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.002816, allocations: 168 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.002851, allocations: 9.953 kB / 0.5475 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.002971, allocations: 119.7 kB / 0.5476 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.003138, allocations: 71.84 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.003158, allocations: 8 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.003178, allocations: 7.938 kB / 0.5477 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.003219, allocations: 27.92 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.003256, allocations: 27.94 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.003355, allocations: 79.73 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.003365, allocations: 0 / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003366, allocations: 0 / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.003373, allocations: 0 / 0.5478 GB, free: 26.86 MB / 410.7 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.0004332/0.003806, allocations: 392.2 kB / 0.5482 GB, free: 26.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.003833, allocations: 15.95 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.003867, allocations: 8.938 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.003983, allocations: 152.5 kB / 0.5483 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.003998, allocations: 8.375 kB / 0.5484 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.004018, allocations: 12.36 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.004124, allocations: 77.03 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.00413, allocations: 7.938 kB / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.004138, allocations: 0 / 0.5484 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.004142, allocations: 3.938 kB / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.004181, allocations: 27.91 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.004393, allocations: 201.1 kB / 0.5487 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.004488, allocations: 114.9 kB / 0.5488 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.004511, allocations: 16.86 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.004524, allocations: 0 / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.004618, allocations: 98.11 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.004619, allocations: 4 kB / 0.5489 GB, free: 25.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000134/0.004754, allocations: 85.66 kB / 0.549 GB, free: 25.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.004773, allocations: 55.41 kB / 0.549 GB, free: 25.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.00483, allocations: 150.6 kB / 0.5492 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.004842, allocations: 29.7 kB / 0.5492 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.004868, allocations: 92.08 kB / 0.5493 GB, free: 25.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.00489, allocations: 47.61 kB / 0.5493 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.004933, allocations: 41.64 kB / 0.5494 GB, free: 25.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.004962, allocations: 326.8 kB / 0.5497 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.004998, allocations: 52.45 kB / 0.5497 GB, free: 24.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.005047, allocations: 162.1 kB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.005102, allocations: 78.84 kB / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005103, allocations: 0 / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.827e-05/0.005191, allocations: 151.8 kB / 0.5501 GB, free: 24.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.005215, allocations: 29.7 kB / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.005218, allocations: 0 / 0.5501 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.005228, allocations: 4 kB / 0.5501 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.005332, allocations: 31.92 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005335, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.005401, allocations: 19.98 kB / 0.5502 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.005409, allocations: 4 kB / 0.5502 GB, free: 24.17 MB / 410.7 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 4.185e-05/0.005451, allocations: 116.9 kB / 0.5503 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.005464, allocations: 19.92 kB / 0.5503 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.005559, allocations: 102.3 kB / 0.5504 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.005561, allocations: 4.031 kB / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.005562, allocations: 0 / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.005565, allocations: 0 / 0.5504 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.356e-05/0.005629, allocations: 101.7 kB / 0.5505 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00563, allocations: 4 kB / 0.5505 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.0057, allocations: 27.98 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.005713, allocations: 7.953 kB / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005715, allocations: 7.938 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.005725, allocations: 0 / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005726, allocations: 0 / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005728, allocations: 7.062 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.005843, allocations: 135.3 kB / 0.5507 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.005864, allocations: 11.92 kB / 0.5507 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.005912, allocations: 12.03 kB / 0.5507 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.005946, allocations: 11.97 kB / 0.5507 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.005952, allocations: 4 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.005977, allocations: 44.73 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005978, allocations: 0 / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001078/0.006085, allocations: 32 kB / 0.5508 GB, free: 23.48 MB / 410.7 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 5.967e-05/0.006145, allocations: 88.3 kB / 0.5509 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.006255, allocations: 161 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.006261, allocations: 3.984 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.006308, allocations: 44.84 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.006488, allocations: 369.7 kB / 0.5515 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.008893, allocations: 354.1 kB / 0.5518 GB, free: 22.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.008e-05/0.008913, allocations: 71.84 kB / 0.5519 GB, free: 22.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.008966, allocations: 17.48 kB / 0.5519 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/0.009064, allocations: 87.34 kB / 0.552 GB, free: 22.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009064, allocations: 8 kB / 0.552 GB, free: 22.16 MB / 410.7 MB Notification: Performance of Templates: time 0.003499/0.01256, allocations: 2.749 MB / 0.5546 GB, free: 19.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2964652702212334]