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.001787/0.001787, 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.001977/0.001977, allocations: 173.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.586/1.586, allocations: 177.1 MB / 202.8 MB, free: 5.773 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.345/1.345, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.047e-05, allocations: 7.688 kB / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase): time 0.002642/0.002672, allocations: 1.811 MB / 0.7017 GB, free: 6.734 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003676, allocations: 0.5576 MB / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.003741, allocations: 0 / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.003855, allocations: 15.86 kB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.004224, allocations: 63.55 kB / 0.7023 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.004391, allocations: 63.77 kB / 0.7024 GB, free: 6.031 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.004601, allocations: 171.3 kB / 0.7025 GB, free: 5.863 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.004654, allocations: 9.312 kB / 0.7025 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.004801, allocations: 95.72 kB / 0.7026 GB, free: 5.762 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.005041, allocations: 71.83 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.00507, allocations: 8 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.378e-05/0.005094, allocations: 8 kB / 0.7027 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.005158, allocations: 35.83 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.136e-05/0.005219, allocations: 43.84 kB / 0.7028 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.005362, allocations: 99.67 kB / 0.7029 GB, free: 5.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005364, allocations: 3.938 kB / 0.7029 GB, free: 5.496 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005365, allocations: 0 / 0.7029 GB, free: 5.496 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005369, allocations: 4 kB / 0.7029 GB, free: 5.492 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.0007548/0.006124, allocations: 395.5 kB / 0.7033 GB, free: 5.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.006163, allocations: 8.031 kB / 0.7033 GB, free: 5.062 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.006216, allocations: 16.84 kB / 0.7033 GB, free: 5.047 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.006388, allocations: 146.2 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.00641, allocations: 8.375 kB / 0.7034 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.006439, allocations: 8.375 kB / 0.7034 GB, free: 4.863 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.006692, allocations: 106.2 kB / 0.7035 GB, free: 4.754 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.006704, allocations: 7.875 kB / 0.7036 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.006718, allocations: 0 / 0.7036 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006724, allocations: 0 / 0.7036 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.006991, allocations: 83.92 kB / 0.7036 GB, free: 4.664 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.00743, allocations: 284.4 kB / 0.7039 GB, free: 4.355 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.007799, allocations: 134.4 kB / 0.704 GB, free: 4.215 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.007943, allocations: 60.75 kB / 0.7041 GB, free: 4.152 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.00796, allocations: 0 / 0.7041 GB, free: 4.152 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.008224, allocations: 110.7 kB / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.008226, allocations: 0 / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005889/0.008814, allocations: 197.6 kB / 0.7044 GB, free: 3.836 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.008851, allocations: 59.41 kB / 0.7044 GB, free: 3.766 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.008978, allocations: 162.5 kB / 0.7046 GB, free: 3.598 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.008996, allocations: 25.7 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.009049, allocations: 104.1 kB / 0.7047 GB, free: 3.461 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.009077, allocations: 39.66 kB / 0.7048 GB, free: 3.422 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.009139, allocations: 41.69 kB / 0.7048 GB, free: 3.375 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.009202, allocations: 322.8 kB / 0.7051 GB, free: 3.051 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.00937, allocations: 85.66 kB / 0.7052 GB, free: 2.961 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.00959, allocations: 198.1 kB / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.009868, allocations: 150.5 kB / 0.7055 GB, free: 2.578 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.009872, allocations: 3.938 kB / 0.7055 GB, free: 2.574 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003794/0.01025, allocations: 244.8 kB / 0.7058 GB, free: 2.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.01028, allocations: 29.7 kB / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.01029, allocations: 0 / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.0103, allocations: 0 / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.01046, allocations: 27.98 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.01047, allocations: 7.984 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.01064, allocations: 23.91 kB / 0.7058 GB, free: 2.223 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01066, allocations: 4 kB / 0.7058 GB, free: 2.219 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 9.305e-05/0.01075, allocations: 133.7 kB / 0.706 GB, free: 2.078 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.01077, allocations: 11.91 kB / 0.706 GB, free: 2.066 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.01116, allocations: 166.4 kB / 0.7061 GB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01116, allocations: 0 / 0.7061 GB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01116, allocations: 8.219 kB / 0.7062 GB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01117, allocations: 0 / 0.7062 GB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.01128, allocations: 153.2 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01128, allocations: 3.938 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.01143, allocations: 23.98 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.01145, allocations: 4 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01146, allocations: 0 / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01146, allocations: 3.938 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01146, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.01197, allocations: 252.9 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01199, allocations: 19.81 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.01202, allocations: 4 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.01215, allocations: 15.97 kB / 0.7066 GB, free: 1.375 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.01222, allocations: 11.98 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.01223, allocations: 11.98 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.199e-05/0.0123, allocations: 121.5 kB / 0.7068 GB, free: 1.234 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.0123, allocations: 4 kB / 0.7068 GB, free: 1.23 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002086/0.01251, allocations: 24 kB / 0.7068 GB, free: 1.207 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 0.0001019/0.01261, allocations: 108.2 kB / 0.7069 GB, free: 1.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.01301, allocations: 216.5 kB / 0.7071 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01301, allocations: 0 / 0.7071 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.01318, allocations: 59.89 kB / 0.7071 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.01348, allocations: 51.94 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.0006248/0.0141, allocations: 305.5 kB / 0.7075 GB, free: 440 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.01416, allocations: 97.8 kB / 0.7076 GB, free: 324 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.01424, allocations: 25.42 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.0143, allocations: 16.5 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of SimCode: time 3.01e-07/0.0143, allocations: 4 kB / 0.7076 GB, free: 276 kB / 410.8 MB Notification: Performance of Templates: time 0.006835/0.02113, allocations: 2.481 MB / 0.71 GB, free: 13.86 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.731949565000832]