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.001005/0.001005, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001111/0.001111, allocations: 217.3 kB / 23 MB, free: 2.938 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.007/1.007, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.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.712/0.712, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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=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: 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.002137/0.002137, allocations: 78.25 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1367, allocations: 73.99 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference): time 0.002526/0.1392, allocations: 1.806 MB / 0.8439 GB, free: 8.52 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.1401, allocations: 0.5414 MB / 0.8444 GB, free: 7.977 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1401, allocations: 0.5938 kB / 0.8444 GB, free: 7.977 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1402, allocations: 20.44 kB / 0.8444 GB, free: 7.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1406, allocations: 72.81 kB / 0.8445 GB, free: 7.887 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.1407, allocations: 57.5 kB / 0.8446 GB, free: 7.832 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1409, allocations: 164 kB / 0.8447 GB, free: 7.672 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.141, allocations: 5.906 kB / 0.8447 GB, free: 7.668 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1411, allocations: 75.75 kB / 0.8448 GB, free: 7.594 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1413, allocations: 80.28 kB / 0.8449 GB, free: 7.516 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1413, allocations: 8.594 kB / 0.8449 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.1414, allocations: 8 kB / 0.8449 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1414, allocations: 28.5 kB / 0.8449 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.1415, allocations: 56.39 kB / 0.845 GB, free: 7.418 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1416, allocations: 95.52 kB / 0.8451 GB, free: 7.324 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1416, allocations: 0.5938 kB / 0.8451 GB, free: 7.324 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1416, allocations: 0 / 0.8451 GB, free: 7.324 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1416, allocations: 0.5 kB / 0.8451 GB, free: 7.324 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.0006267/0.1423, allocations: 393.2 kB / 0.8454 GB, free: 6.906 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1423, allocations: 12.45 kB / 0.8455 GB, free: 6.895 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.1423, allocations: 16.84 kB / 0.8455 GB, free: 6.879 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1425, allocations: 159.3 kB / 0.8456 GB, free: 6.699 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1425, allocations: 8.875 kB / 0.8456 GB, free: 6.691 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1426, allocations: 8.125 kB / 0.8456 GB, free: 6.684 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1427, allocations: 102 kB / 0.8457 GB, free: 6.582 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1428, allocations: 0 / 0.8457 GB, free: 6.582 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1428, allocations: 8.734 kB / 0.8457 GB, free: 6.574 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1428, allocations: 0 / 0.8457 GB, free: 6.574 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1429, allocations: 85.06 kB / 0.8458 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1433, allocations: 280.8 kB / 0.8461 GB, free: 6.188 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1436, allocations: 131.6 kB / 0.8462 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.1437, allocations: 53.41 kB / 0.8463 GB, free: 5.996 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1437, allocations: 0.625 kB / 0.8463 GB, free: 5.996 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1438, allocations: 108 kB / 0.8464 GB, free: 5.879 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1438, allocations: 4.438 kB / 0.8464 GB, free: 5.875 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003678/0.1442, allocations: 203 kB / 0.8466 GB, free: 5.672 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000291/0.1445, allocations: 52 kB / 0.8466 GB, free: 5.609 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1446, allocations: 157.3 kB / 0.8468 GB, free: 5.449 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1446, allocations: 34.7 kB / 0.8468 GB, free: 5.41 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1447, allocations: 108 kB / 0.8469 GB, free: 5.301 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1447, allocations: 48.14 kB / 0.847 GB, free: 5.254 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1448, allocations: 37.7 kB / 0.847 GB, free: 5.211 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.1449, allocations: 331.6 kB / 0.8473 GB, free: 4.879 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.145, allocations: 82.28 kB / 0.8474 GB, free: 4.793 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1451, allocations: 202.6 kB / 0.8476 GB, free: 4.559 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1453, allocations: 141.9 kB / 0.8477 GB, free: 4.414 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1453, allocations: 0 / 0.8477 GB, free: 4.414 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002632/0.1455, allocations: 240.6 kB / 0.8479 GB, free: 4.164 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.1456, allocations: 38.42 kB / 0.848 GB, free: 4.121 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1456, allocations: 3.984 kB / 0.848 GB, free: 4.117 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1456, allocations: 4.609 kB / 0.848 GB, free: 4.113 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1457, allocations: 28.52 kB / 0.848 GB, free: 4.086 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1457, allocations: 0.5938 kB / 0.848 GB, free: 4.086 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.1458, allocations: 32.5 kB / 0.848 GB, free: 4.055 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1458, allocations: 4 kB / 0.8481 GB, free: 4.051 MB / 474.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 9.319e-05/0.1459, allocations: 122.4 kB / 0.8482 GB, free: 3.922 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1459, allocations: 12.52 kB / 0.8482 GB, free: 3.91 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1462, allocations: 179.4 kB / 0.8484 GB, free: 3.73 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1462, allocations: 0.5625 kB / 0.8484 GB, free: 3.73 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1462, allocations: 0 / 0.8484 GB, free: 3.73 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1463, allocations: 4.438 kB / 0.8484 GB, free: 3.727 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1464, allocations: 149.8 kB / 0.8485 GB, free: 3.551 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1464, allocations: 0 / 0.8485 GB, free: 3.551 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.1465, allocations: 28.62 kB / 0.8485 GB, free: 3.523 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1465, allocations: 0.5938 kB / 0.8485 GB, free: 3.523 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1465, allocations: 4 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1465, allocations: 4.562 kB / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1465, allocations: 0.6562 kB / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.1469, allocations: 252.5 kB / 0.8488 GB, free: 3.254 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.1469, allocations: 16.53 kB / 0.8488 GB, free: 3.238 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1469, allocations: 4 kB / 0.8488 GB, free: 3.234 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.147, allocations: 12.58 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.1471, allocations: 16.59 kB / 0.8488 GB, free: 3.207 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1471, allocations: 4 kB / 0.8488 GB, free: 3.203 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.683e-05/0.1472, allocations: 119.8 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1472, allocations: 0.625 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001614/0.1473, allocations: 35.94 kB / 0.849 GB, free: 3.051 MB / 474.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.000128/0.1474, allocations: 104.6 kB / 0.8491 GB, free: 2.941 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.1478, allocations: 213.5 kB / 0.8493 GB, free: 2.715 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1478, allocations: 0.5 kB / 0.8493 GB, free: 2.715 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1479, allocations: 64.52 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1481, allocations: 42.41 kB / 0.8494 GB, free: 2.613 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.1488, allocations: 360.1 kB / 0.8497 GB, free: 2.23 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/0.1489, allocations: 98.98 kB / 0.8498 GB, free: 2.113 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1489, allocations: 16.06 kB / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of SimCode: time 7.81e-07/0.1489, allocations: 0.7188 kB / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of Templates: time 0.002747/0.1517, allocations: 2.046 MB / 0.8518 GB, free: 156 kB / 474.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.953830936923623]