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.002022/0.002022, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002136/0.002136, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.57/1.57, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.36/1.36, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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_Verstraete1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,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=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.186e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference): time 0.002666/0.002698, allocations: 1.808 MB / 0.7016 GB, free: 6.734 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.003606, allocations: 0.5458 MB / 0.7022 GB, free: 6.184 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.00367, allocations: 7.938 kB / 0.7022 GB, free: 6.176 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.614e-05/0.003766, allocations: 11.86 kB / 0.7022 GB, free: 6.164 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.004108, allocations: 71.53 kB / 0.7023 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.004279, allocations: 63.77 kB / 0.7023 GB, free: 6.031 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.004472, allocations: 171.3 kB / 0.7025 GB, free: 5.863 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.004519, allocations: 5.312 kB / 0.7025 GB, free: 5.859 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.004644, allocations: 91.78 kB / 0.7026 GB, free: 5.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.004865, allocations: 79.77 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.004892, allocations: 8 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.004914, allocations: 4 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.004976, allocations: 35.84 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.005037, allocations: 43.89 kB / 0.7027 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.005181, allocations: 99.67 kB / 0.7028 GB, free: 5.504 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.005184, allocations: 0 / 0.7028 GB, free: 5.504 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005185, allocations: 4 kB / 0.7028 GB, free: 5.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.00519, allocations: 3.938 kB / 0.7028 GB, free: 5.496 MB / 410.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.0007177/0.005907, allocations: 395.5 kB / 0.7032 GB, free: 5.074 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.005948, allocations: 11.89 kB / 0.7032 GB, free: 5.062 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.006002, allocations: 20.78 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.006189, allocations: 142.2 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.006211, allocations: 12.36 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.006242, allocations: 4.375 kB / 0.7034 GB, free: 4.863 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.006484, allocations: 101.3 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.0065, allocations: 7.938 kB / 0.7035 GB, free: 4.754 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.006516, allocations: 0 / 0.7035 GB, free: 4.754 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.006521, allocations: 0 / 0.7035 GB, free: 4.754 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.006783, allocations: 87.84 kB / 0.7036 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.007212, allocations: 284.4 kB / 0.7039 GB, free: 4.359 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.007551, allocations: 134.4 kB / 0.704 GB, free: 4.219 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.007689, allocations: 60.81 kB / 0.704 GB, free: 4.156 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.007706, allocations: 0 / 0.704 GB, free: 4.156 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.007947, allocations: 111.3 kB / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.007948, allocations: 0 / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005353/0.008483, allocations: 197.6 kB / 0.7043 GB, free: 3.836 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.008515, allocations: 51.41 kB / 0.7044 GB, free: 3.773 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.008635, allocations: 163.6 kB / 0.7045 GB, free: 3.605 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.008656, allocations: 29.7 kB / 0.7046 GB, free: 3.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.008705, allocations: 104.1 kB / 0.7047 GB, free: 3.465 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.008735, allocations: 43.64 kB / 0.7047 GB, free: 3.422 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.008797, allocations: 37.7 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.008848, allocations: 330.8 kB / 0.7051 GB, free: 3.047 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.009018, allocations: 81.66 kB / 0.7051 GB, free: 2.961 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.009208, allocations: 194.9 kB / 0.7053 GB, free: 2.734 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.009493, allocations: 145.8 kB / 0.7055 GB, free: 2.586 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.009496, allocations: 3.938 kB / 0.7055 GB, free: 2.582 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003742/0.00987, allocations: 240.8 kB / 0.7057 GB, free: 2.328 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.009899, allocations: 33.7 kB / 0.7057 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.009903, allocations: 0 / 0.7057 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.009917, allocations: 0 / 0.7057 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.01008, allocations: 35.91 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01009, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.01025, allocations: 23.92 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01026, allocations: 8 kB / 0.7058 GB, free: 2.223 MB / 410.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 7.284e-05/0.01033, allocations: 118.4 kB / 0.7059 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.01035, allocations: 15.91 kB / 0.7059 GB, free: 2.082 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.01072, allocations: 170.3 kB / 0.7061 GB, free: 1.914 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01072, allocations: 8.016 kB / 0.7061 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01073, allocations: 3.938 kB / 0.7061 GB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01073, allocations: 4 kB / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.01084, allocations: 149.5 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01085, allocations: 3.938 kB / 0.7063 GB, free: 1.719 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.011, allocations: 27.92 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.011, allocations: 0 / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01102, allocations: 7.984 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01102, allocations: 0 / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01102, allocations: 0 / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.01151, allocations: 256.8 kB / 0.7065 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01153, allocations: 23.8 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01156, allocations: 0 / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01168, allocations: 15.98 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.01174, allocations: 11.97 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01175, allocations: 12 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.151e-05/0.01182, allocations: 125.3 kB / 0.7067 GB, free: 1.234 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 0 / 0.7067 GB, free: 1.234 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001981/0.01202, allocations: 32 kB / 0.7067 GB, free: 1.203 MB / 410.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 9.641e-05/0.01212, allocations: 107.2 kB / 0.7068 GB, free: 1.086 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.0125, allocations: 209 kB / 0.707 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.0125, allocations: 0 / 0.707 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.01266, allocations: 67.89 kB / 0.7071 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.01295, allocations: 46.64 kB / 0.7072 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.01359, allocations: 311.3 kB / 0.7075 GB, free: 436 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.01364, allocations: 93.8 kB / 0.7075 GB, free: 324 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.01372, allocations: 25.48 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.01378, allocations: 16.5 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of SimCode: time 3.11e-07/0.01378, allocations: 0 / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of Templates: time 0.006352/0.02013, allocations: 2.495 MB / 0.71 GB, free: 13.88 MB / 426.8 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: 6.8261676609981805]