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.0006606/0.0006606, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009443/0.001605, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006648/0.0006648, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000849/0.001514, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.032/1.032, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09132/1.124, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7863/0.7863, allocations: 291.2 MB / 0.5226 GB, free: 52.5 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03241/0.8187, allocations: 21.04 MB / 0.5431 GB, free: 31.51 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.193e-06/1.193e-06, allocations: 0 / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.364e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference): time 0.001741/0.001755, allocations: 1.942 MB / 0.5464 GB, free: 28.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.002336, allocations: 0.5681 MB / 0.547 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.002383, allocations: 3.938 kB / 0.547 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.002428, allocations: 11.92 kB / 0.547 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.002622, allocations: 75.41 kB / 0.5471 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.002734, allocations: 55.84 kB / 0.5471 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.002886, allocations: 176 kB / 0.5473 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.002923, allocations: 5.969 kB / 0.5473 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.00305, allocations: 111.7 kB / 0.5474 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.003221, allocations: 87.77 kB / 0.5475 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.003245, allocations: 8 kB / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.003262, allocations: 4 kB / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.00331, allocations: 19.94 kB / 0.5475 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.003354, allocations: 31.92 kB / 0.5475 GB, free: 27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.00346, allocations: 71.75 kB / 0.5476 GB, free: 26.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.003476, allocations: 4 kB / 0.5476 GB, free: 26.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003476, allocations: 3.938 kB / 0.5476 GB, free: 26.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.003493, allocations: 0 / 0.5476 GB, free: 26.92 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.0005241/0.004017, allocations: 388.1 kB / 0.548 GB, free: 26.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.004045, allocations: 12.03 kB / 0.548 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.004084, allocations: 16.92 kB / 0.548 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.00421, allocations: 158.8 kB / 0.5482 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.004226, allocations: 4.375 kB / 0.5482 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.004247, allocations: 8.375 kB / 0.5482 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.004376, allocations: 73.02 kB / 0.5482 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.004384, allocations: 7.938 kB / 0.5482 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004393, allocations: 11.98 kB / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004398, allocations: 0 / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.004445, allocations: 27.98 kB / 0.5483 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.004681, allocations: 193.8 kB / 0.5485 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.004788, allocations: 118.3 kB / 0.5486 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.004815, allocations: 20.86 kB / 0.5486 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.004829, allocations: 0 / 0.5486 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.004939, allocations: 94.17 kB / 0.5487 GB, free: 25.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.00494, allocations: 4 kB / 0.5487 GB, free: 25.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001377/0.005078, allocations: 85.59 kB / 0.5488 GB, free: 25.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.005101, allocations: 55.41 kB / 0.5488 GB, free: 25.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.005162, allocations: 150.6 kB / 0.549 GB, free: 25.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.005174, allocations: 29.7 kB / 0.549 GB, free: 25.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.0052, allocations: 100.1 kB / 0.5491 GB, free: 25.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.005229, allocations: 43.83 kB / 0.5491 GB, free: 25.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.005267, allocations: 41.64 kB / 0.5492 GB, free: 25.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.005296, allocations: 334.7 kB / 0.5495 GB, free: 24.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.005328, allocations: 40.53 kB / 0.5495 GB, free: 24.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.005375, allocations: 169.2 kB / 0.5497 GB, free: 24.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.005429, allocations: 80.17 kB / 0.5498 GB, free: 24.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.00543, allocations: 0 / 0.5498 GB, free: 24.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.175e-05/0.005522, allocations: 146.6 kB / 0.5499 GB, free: 24.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.005548, allocations: 37.7 kB / 0.55 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.005552, allocations: 0 / 0.55 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.005561, allocations: 0 / 0.55 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.005667, allocations: 39.91 kB / 0.55 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.005669, allocations: 0 / 0.55 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.005734, allocations: 12 kB / 0.55 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.005742, allocations: 11.98 kB / 0.55 GB, free: 24.22 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.922e-05/0.005792, allocations: 120.7 kB / 0.5501 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.005805, allocations: 11.92 kB / 0.5501 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.005907, allocations: 98.36 kB / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005909, allocations: 4 kB / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005911, allocations: 0 / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.005915, allocations: 3.312 kB / 0.5502 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.111e-05/0.005986, allocations: 97.77 kB / 0.5503 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005987, allocations: 4 kB / 0.5503 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.00606, allocations: 23.98 kB / 0.5504 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.006075, allocations: 11.94 kB / 0.5504 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.006078, allocations: 3.938 kB / 0.5504 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.006088, allocations: 4 kB / 0.5504 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00609, allocations: 7.984 kB / 0.5504 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006091, allocations: 0 / 0.5504 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.006222, allocations: 130.6 kB / 0.5505 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.00624, allocations: 7.938 kB / 0.5505 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.006288, allocations: 7.984 kB / 0.5505 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.006321, allocations: 24 kB / 0.5506 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.006327, allocations: 0 / 0.5506 GB, free: 23.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.006354, allocations: 39.94 kB / 0.5506 GB, free: 23.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006354, allocations: 0 / 0.5506 GB, free: 23.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001072/0.006461, allocations: 32 kB / 0.5506 GB, free: 23.55 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.081e-05/0.006522, allocations: 88.34 kB / 0.5507 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.006639, allocations: 158.5 kB / 0.5509 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.006643, allocations: 0 / 0.5509 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.006681, allocations: 40.78 kB / 0.5509 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.006819, allocations: 51.53 kB / 0.5509 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.009272, allocations: 362.3 kB / 0.5513 GB, free: 22.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.445e-05/0.009297, allocations: 67.84 kB / 0.5514 GB, free: 22.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.009352, allocations: 21.47 kB / 0.5514 GB, free: 22.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.009451, allocations: 87.34 kB / 0.5515 GB, free: 22.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009452, allocations: 0 / 0.5515 GB, free: 22.62 MB / 410.7 MB Notification: Performance of Templates: time 0.00368/0.01313, allocations: 2.747 MB / 0.5541 GB, free: 19.94 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.3563653444871306]