Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.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.0007447/0.0007447, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008718/0.001617, 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.0006856/0.0006856, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008713/0.001557, 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.148/1.148, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1335/1.282, allocations: 53.67 MB / 243.3 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.8791/0.8791, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04811/0.9272, allocations: 21.05 MB / 0.5433 GB, free: 31.72 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.Plutonium240.Plutonium240,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.859e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240): time 0.003088/0.003116, allocations: 1.975 MB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004148, allocations: 0.5757 MB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.004222, allocations: 0 / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.004306, allocations: 11.86 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.004619, allocations: 67.48 kB / 0.5472 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.00482, allocations: 67.77 kB / 0.5473 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.005059, allocations: 172 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.005115, allocations: 5.969 kB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.005312, allocations: 111.8 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.005559, allocations: 79.77 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.005588, allocations: 4 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.005614, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.00567, allocations: 23.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.005726, allocations: 27.94 kB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.005881, allocations: 79.67 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.866e-05/0.0059, allocations: 4 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005901, allocations: 0 / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.005918, allocations: 3.938 kB / 0.5478 GB, free: 27.09 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.0006789/0.006597, allocations: 388.1 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006639, allocations: 11.89 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.006685, allocations: 16.92 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006863, allocations: 153.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.006886, allocations: 12.38 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.006915, allocations: 4.375 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.007076, allocations: 88.95 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.007086, allocations: 3.938 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.007097, allocations: 4 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.007103, allocations: 0 / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.007155, allocations: 19.98 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.007483, allocations: 193.9 kB / 0.5486 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.007622, allocations: 126.8 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.007658, allocations: 20.86 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.007684, allocations: 4 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.007853, allocations: 90.23 kB / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.007856, allocations: 0 / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001909/0.008047, allocations: 85.66 kB / 0.5489 GB, free: 25.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.008079, allocations: 59.34 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.008171, allocations: 146.6 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.008189, allocations: 33.7 kB / 0.5492 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.008232, allocations: 96.06 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.008263, allocations: 47.61 kB / 0.5493 GB, free: 25.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.00832, allocations: 45.86 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.008378, allocations: 322.8 kB / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.008432, allocations: 48.47 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.008502, allocations: 164.8 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.008581, allocations: 76.17 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.008584, allocations: 4 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001396/0.008723, allocations: 151 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.00876, allocations: 33.7 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008765, allocations: 4 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.008776, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.008926, allocations: 31.97 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.008932, allocations: 7.312 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-05/0.00902, allocations: 12 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.009031, allocations: 3.984 kB / 0.5502 GB, free: 24.39 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 6.678e-05/0.009098, allocations: 120.6 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.009117, allocations: 15.94 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.009267, allocations: 102.4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.00927, allocations: 4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.009272, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.009277, allocations: 4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.009382, allocations: 93.77 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009384, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.009503, allocations: 31.92 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.009524, allocations: 7.953 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009527, allocations: 3.938 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.009543, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.009547, allocations: 7.984 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.009549, allocations: 4 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.009733, allocations: 131.3 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.009757, allocations: 7.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.009826, allocations: 11.98 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.009879, allocations: 11.97 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.009887, allocations: 4 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.009928, allocations: 43.94 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009928, allocations: 0 / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.0101, allocations: 35.94 kB / 0.5508 GB, free: 23.71 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.0001266/0.01023, allocations: 88.38 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.01041, allocations: 154 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.01041, allocations: 0 / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.01048, allocations: 52.72 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.0107, allocations: 53.44 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.01427, allocations: 346.2 kB / 0.5515 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.01431, allocations: 71.83 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.01443, allocations: 21.52 kB / 0.5515 GB, free: 22.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.01458, allocations: 91.34 kB / 0.5516 GB, free: 22.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.01459, allocations: 0 / 0.5516 GB, free: 22.78 MB / 410.7 MB Notification: Performance of Templates: time 0.00563/0.02022, allocations: 2.733 MB / 0.5543 GB, free: 20.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7103895023465157]