Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_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.0008336/0.0008336, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001949, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007333/0.0007333, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009728/0.001706, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.133/1.133, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1157/1.249, allocations: 53.66 MB / 243.3 MB, free: 15.56 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.9048/0.9048, allocations: 291.2 MB / 0.5227 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04884/0.9536, allocations: 21.05 MB / 0.5433 GB, free: 31.7 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.Strontium90.Strontium90_Tolstykh2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.938e-06/3.938e-06, allocations: 4 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.52e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference): time 0.002411/0.002446, allocations: 1.941 MB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.003094, allocations: 0.5715 MB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.003152, allocations: 3.938 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.671e-05/0.003219, allocations: 11.92 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.003512, allocations: 75.42 kB / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003681, allocations: 59.83 kB / 0.5472 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.003902, allocations: 168 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.003953, allocations: 5.969 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.004116, allocations: 119.7 kB / 0.5475 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.004337, allocations: 75.78 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.004364, allocations: 8 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.004386, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.004436, allocations: 23.92 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.004485, allocations: 31.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004611, allocations: 71.75 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.004626, allocations: 0 / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004627, allocations: 0 / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.004644, allocations: 3.938 kB / 0.5477 GB, free: 27.12 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.0005923/0.005236, allocations: 392.1 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.005275, allocations: 11.89 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.005315, allocations: 12.92 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.00548, allocations: 158.8 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.005509, allocations: 4.375 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.005536, allocations: 12.38 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.005685, allocations: 73.02 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.005693, allocations: 3.938 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005705, allocations: 0 / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.005712, allocations: 8 kB / 0.5484 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.005758, allocations: 23.98 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.006053, allocations: 205.8 kB / 0.5486 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.006179, allocations: 118.9 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.006213, allocations: 20.84 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.006234, allocations: 4 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.006387, allocations: 78.25 kB / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.006389, allocations: 3.938 kB / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002335/0.006623, allocations: 93.66 kB / 0.5489 GB, free: 25.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.006663, allocations: 55.39 kB / 0.549 GB, free: 25.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.006742, allocations: 150.6 kB / 0.5491 GB, free: 25.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.006754, allocations: 25.7 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.006786, allocations: 100.1 kB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.00681, allocations: 43.61 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.00685, allocations: 41.86 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.006882, allocations: 326.8 kB / 0.5496 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.006917, allocations: 52.45 kB / 0.5497 GB, free: 24.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.107e-05/0.006969, allocations: 162.1 kB / 0.5498 GB, free: 24.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.007028, allocations: 82.67 kB / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00703, allocations: 0 / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000114/0.007144, allocations: 147.8 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.007179, allocations: 33.69 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.007185, allocations: 4 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.007196, allocations: 0 / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.00733, allocations: 35.92 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.007334, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.007403, allocations: 11.98 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.007416, allocations: 12 kB / 0.5501 GB, free: 24.42 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.979e-05/0.007476, allocations: 120.6 kB / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.007493, allocations: 15.92 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.007636, allocations: 98.36 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007638, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.007641, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007645, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.601e-05/0.007741, allocations: 101.8 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.007747, allocations: 7.312 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.992e-05/0.007847, allocations: 23.98 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.007865, allocations: 11.94 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.007868, allocations: 7.938 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.007881, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.007884, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.007886, allocations: 0 / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.008054, allocations: 142.6 kB / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.008073, allocations: 7.938 kB / 0.5506 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.00813, allocations: 11.98 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.008178, allocations: 16 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.008186, allocations: 8 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.008223, allocations: 38.5 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008223, allocations: 0 / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.008335, allocations: 32 kB / 0.5507 GB, free: 23.74 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 0.0001126/0.008448, allocations: 88.36 kB / 0.5508 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.00859, allocations: 157.5 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/0.008599, allocations: 0 / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.008655, allocations: 52.75 kB / 0.551 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.008829, allocations: 58.11 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.01144, allocations: 342.2 kB / 0.5514 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.01147, allocations: 67.84 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.726e-05/0.01153, allocations: 21.52 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.01166, allocations: 95.28 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.01166, allocations: 0 / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of Templates: time 0.004174/0.01583, allocations: 2.743 MB / 0.5543 GB, free: 20.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Strontium90.Strontium90_Tolstykh2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.52852725982666]