Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.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.0006931/0.0006931, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009344/0.001627, allocations: 440 kB / 10.41 MB, free: 284 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.0006695/0.0006695, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009398/0.001609, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.017/1.017, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.084/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.7443/0.7443, allocations: 291.2 MB / 0.5228 GB, free: 52.66 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0362/0.7805, allocations: 21.04 MB / 0.5434 GB, free: 31.68 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.Americium241.Americium241_Kathren2003_knee,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5448 GB, free: 30.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.194e-05, allocations: 2.312 kB / 0.5448 GB, free: 30.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee): time 0.002781/0.002803, allocations: 1.945 MB / 0.5467 GB, free: 28.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.00363, allocations: 0.5793 MB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.003687, allocations: 0 / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.003744, allocations: 19.86 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.003995, allocations: 63.55 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.004162, allocations: 59.83 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.004371, allocations: 172 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.004413, allocations: 13.91 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.004584, allocations: 115.8 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.004799, allocations: 67.84 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.004825, allocations: 8 kB / 0.5478 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.768e-05/0.004853, allocations: 8 kB / 0.5478 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.004908, allocations: 27.86 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.00496, allocations: 31.94 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.005101, allocations: 75.69 kB / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.005115, allocations: 0 / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005116, allocations: 0 / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.005126, allocations: 4 kB / 0.5479 GB, free: 27.04 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.000597/0.005723, allocations: 388.1 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005757, allocations: 8.031 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.005807, allocations: 16.92 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.005963, allocations: 156.5 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.005985, allocations: 4.375 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.006024, allocations: 12.38 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.006192, allocations: 77.02 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006201, allocations: 7.875 kB / 0.5485 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.006212, allocations: 0 / 0.5485 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006219, allocations: 4 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.737e-05/0.006276, allocations: 19.98 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.006592, allocations: 201.8 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.006737, allocations: 118.9 kB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.006774, allocations: 20.84 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.006791, allocations: 7.938 kB / 0.5489 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.006944, allocations: 90.25 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.006945, allocations: 0 / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001851/0.00713, allocations: 81.66 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.007153, allocations: 55.39 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.007238, allocations: 154.6 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.007255, allocations: 25.7 kB / 0.5493 GB, free: 25.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.007298, allocations: 100.1 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.007332, allocations: 47.61 kB / 0.5494 GB, free: 25.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.007387, allocations: 37.64 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.007428, allocations: 330.8 kB / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/0.007476, allocations: 48.52 kB / 0.5498 GB, free: 24.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.007546, allocations: 158.1 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.007631, allocations: 82.2 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.007634, allocations: 0 / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000138/0.007772, allocations: 151.8 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.007806, allocations: 37.69 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.007811, allocations: 0 / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.007824, allocations: 0 / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.007979, allocations: 35.98 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.007983, allocations: 4 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.008078, allocations: 11.98 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.008089, allocations: 4 kB / 0.5503 GB, free: 24.36 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.051e-05/0.00815, allocations: 120.6 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.008172, allocations: 15.92 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.008318, allocations: 95.14 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.00832, allocations: 0 / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008322, allocations: 3.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008325, allocations: 4 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.00843, allocations: 105.8 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.008431, allocations: 0 / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.008553, allocations: 27.92 kB / 0.5506 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.008573, allocations: 11.94 kB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008576, allocations: 3.938 kB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.008589, allocations: 0 / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008591, allocations: 0 / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008593, allocations: 4 kB / 0.5507 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.008781, allocations: 134.8 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.008808, allocations: 15.97 kB / 0.5508 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.008892, allocations: 11.48 kB / 0.5508 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.008943, allocations: 15.97 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.008952, allocations: 4 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.008997, allocations: 44.73 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008997, allocations: 0 / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.009178, allocations: 32 kB / 0.5509 GB, free: 23.67 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 9.61e-05/0.009274, allocations: 88.3 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.00944, allocations: 156.7 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.009448, allocations: 7.984 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.00952, allocations: 36.83 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.009815, allocations: 370.5 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.01371, allocations: 358.1 kB / 0.5519 GB, free: 22.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.01374, allocations: 71.83 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.01383, allocations: 21.52 kB / 0.552 GB, free: 22.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.01398, allocations: 87.34 kB / 0.5521 GB, free: 22.35 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01398, allocations: 0 / 0.5521 GB, free: 22.35 MB / 410.7 MB Notification: Performance of Templates: time 0.00527/0.01925, allocations: 2.757 MB / 0.5547 GB, free: 19.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_knee.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4263312444090843]