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.0009132/0.0009132, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002288, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007875/0.0007875, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.00221, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.018/1.018, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08591/1.104, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7274/0.7274, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0334/0.7608, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.047e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase): time 0.001761/0.001782, allocations: 1.959 MB / 0.5464 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.002457, allocations: 0.5653 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.002513, allocations: 3.938 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.002568, allocations: 7.922 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.002814, allocations: 71.42 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.002957, allocations: 63.83 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003144, allocations: 176 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.003194, allocations: 5.969 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.003342, allocations: 111.7 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.003511, allocations: 75.78 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.003532, allocations: 4 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.003551, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.003596, allocations: 27.92 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.003642, allocations: 27.94 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003749, allocations: 83.67 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.003763, allocations: 4 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003764, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.003775, allocations: 0 / 0.5476 GB, free: 27.34 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.0005126/0.004288, allocations: 384.1 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.004318, allocations: 15.89 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.004359, allocations: 12.92 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.004493, allocations: 154.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.004517, allocations: 12.38 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.004537, allocations: 4.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.004674, allocations: 77.03 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004683, allocations: 7.938 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004693, allocations: 3.984 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.0047, allocations: 0 / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.004743, allocations: 23.98 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.004992, allocations: 201.8 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.005123, allocations: 118.9 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.005152, allocations: 20.86 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.005168, allocations: 0 / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.005293, allocations: 90.23 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.005294, allocations: 0 / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001434/0.005437, allocations: 89.59 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.005466, allocations: 55.62 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.005534, allocations: 146.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.005546, allocations: 37.64 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.005582, allocations: 100.1 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.005609, allocations: 39.62 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.005654, allocations: 49.62 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.005696, allocations: 326.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.005732, allocations: 40.53 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.005791, allocations: 166 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.447e-05/0.005856, allocations: 82.98 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005858, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.813e-05/0.005956, allocations: 143.8 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.00599, allocations: 33.7 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.005995, allocations: 7.312 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.006006, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.00612, allocations: 35.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.006123, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.006193, allocations: 15.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.006202, allocations: 4 kB / 0.55 GB, free: 24.66 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 5.503e-05/0.006257, allocations: 120.7 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.006271, allocations: 15.97 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.006384, allocations: 102.4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006387, allocations: 4 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006388, allocations: 0 / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.006394, allocations: 3.984 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.006468, allocations: 97.75 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006469, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.006544, allocations: 27.98 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.006558, allocations: 7.953 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.00656, allocations: 3.938 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.006571, allocations: 0 / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006573, allocations: 4 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006573, allocations: 4 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.006708, allocations: 142.6 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.006725, allocations: 3.938 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.006773, allocations: 11.98 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.006819, allocations: 11.98 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.006825, allocations: 3.984 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.961e-05/0.006855, allocations: 47.06 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006855, allocations: 0 / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001138/0.006969, allocations: 32 kB / 0.5506 GB, free: 23.97 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 6.541e-05/0.007034, allocations: 84.44 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.007162, allocations: 149.1 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.007165, allocations: 4 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.007203, allocations: 40.77 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.007344, allocations: 57.78 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.009805, allocations: 354.2 kB / 0.5513 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.326e-05/0.009828, allocations: 71.83 kB / 0.5514 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.009885, allocations: 17.48 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.009984, allocations: 95.28 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009984, allocations: 0 / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003565/0.01355, allocations: 2.739 MB / 0.5541 GB, free: 20.38 MB / 410.7 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: 3.239662090316415]