Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.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.001057/0.001057, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.001664/0.001664, allocations: 217.3 kB / 23 MB, free: 2.965 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.029/1.029, allocations: 230.7 MB / 256.8 MB, free: 9.602 MB / 202.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.7003/0.7003, allocations: 312.3 MB / 0.6108 GB, free: 97.12 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_head,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 74.02 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09896, allocations: 74 MB / 0.8421 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head): time 0.002346/0.1013, allocations: 1.806 MB / 0.8439 GB, free: 8.027 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000707/0.102, allocations: 0.5418 MB / 0.8444 GB, free: 7.484 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.1021, allocations: 3.938 kB / 0.8444 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.1021, allocations: 8.422 kB / 0.8444 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.1024, allocations: 73.34 kB / 0.8445 GB, free: 7.402 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.1026, allocations: 68.52 kB / 0.8446 GB, free: 7.34 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1027, allocations: 163.9 kB / 0.8447 GB, free: 7.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1028, allocations: 5.312 kB / 0.8447 GB, free: 7.176 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.1029, allocations: 76.28 kB / 0.8448 GB, free: 7.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1031, allocations: 84.34 kB / 0.8449 GB, free: 7.02 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1031, allocations: 8 kB / 0.8449 GB, free: 7.012 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1031, allocations: 4.594 kB / 0.8449 GB, free: 7.008 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1031, allocations: 27.91 kB / 0.8449 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.1032, allocations: 56.27 kB / 0.845 GB, free: 6.926 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1033, allocations: 96.2 kB / 0.8451 GB, free: 6.832 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1033, allocations: 0 / 0.8451 GB, free: 6.832 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1033, allocations: 0.625 kB / 0.8451 GB, free: 6.832 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1033, allocations: 0.6562 kB / 0.8451 GB, free: 6.832 MB / 474.8 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.000557/0.1039, allocations: 389.2 kB / 0.8454 GB, free: 6.418 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1039, allocations: 15.89 kB / 0.8455 GB, free: 6.402 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.104, allocations: 13.47 kB / 0.8455 GB, free: 6.391 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1041, allocations: 150.8 kB / 0.8456 GB, free: 6.219 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1041, allocations: 9.031 kB / 0.8456 GB, free: 6.211 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1042, allocations: 12.75 kB / 0.8456 GB, free: 6.199 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1043, allocations: 106.3 kB / 0.8457 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1043, allocations: 0 / 0.8457 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1043, allocations: 0.6875 kB / 0.8457 GB, free: 6.09 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1043, allocations: 4 kB / 0.8457 GB, free: 6.086 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1045, allocations: 81.2 kB / 0.8458 GB, free: 6.008 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1048, allocations: 284.3 kB / 0.8461 GB, free: 5.699 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1051, allocations: 131.6 kB / 0.8462 GB, free: 5.562 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.1051, allocations: 49.84 kB / 0.8463 GB, free: 5.512 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1052, allocations: 4 kB / 0.8463 GB, free: 5.508 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1053, allocations: 112.6 kB / 0.8464 GB, free: 5.387 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1053, allocations: 3.938 kB / 0.8464 GB, free: 5.383 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003457/0.1057, allocations: 202.8 kB / 0.8466 GB, free: 5.18 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1057, allocations: 52.03 kB / 0.8466 GB, free: 5.117 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.1058, allocations: 155.1 kB / 0.8468 GB, free: 4.957 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1058, allocations: 29.7 kB / 0.8468 GB, free: 4.922 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1059, allocations: 108.7 kB / 0.8469 GB, free: 4.812 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1059, allocations: 48.25 kB / 0.8469 GB, free: 4.766 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.1059, allocations: 37.7 kB / 0.847 GB, free: 4.723 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.106, allocations: 327.4 kB / 0.8473 GB, free: 4.395 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1061, allocations: 82.28 kB / 0.8474 GB, free: 4.309 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1062, allocations: 210.6 kB / 0.8476 GB, free: 4.066 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1064, allocations: 137.4 kB / 0.8477 GB, free: 3.926 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1064, allocations: 0 / 0.8477 GB, free: 3.926 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002445/0.1067, allocations: 244.3 kB / 0.8479 GB, free: 3.672 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1067, allocations: 33.7 kB / 0.848 GB, free: 3.633 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1067, allocations: 0.625 kB / 0.848 GB, free: 3.633 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1067, allocations: 4.625 kB / 0.848 GB, free: 3.629 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1068, allocations: 31.91 kB / 0.848 GB, free: 3.598 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1069, allocations: 0.8125 kB / 0.848 GB, free: 3.598 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.1069, allocations: 24.38 kB / 0.848 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.1069, allocations: 8.656 kB / 0.848 GB, free: 3.566 MB / 474.8 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 7.585e-05/0.107, allocations: 122.5 kB / 0.8482 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.107, allocations: 8.578 kB / 0.8482 GB, free: 3.43 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1073, allocations: 182 kB / 0.8483 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1073, allocations: 4.594 kB / 0.8483 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1073, allocations: 0 / 0.8483 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1073, allocations: 4.609 kB / 0.8483 GB, free: 3.242 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1074, allocations: 153.8 kB / 0.8485 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1074, allocations: 0 / 0.8485 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.1075, allocations: 24.58 kB / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1075, allocations: 0.5938 kB / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1075, allocations: 7.984 kB / 0.8485 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1075, allocations: 0.6875 kB / 0.8485 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1075, allocations: 48 / 0.8485 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.1078, allocations: 258 kB / 0.8488 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.1078, allocations: 8.766 kB / 0.8488 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1078, allocations: 7.984 kB / 0.8488 GB, free: 2.746 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.1079, allocations: 12.61 kB / 0.8488 GB, free: 2.734 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.1079, allocations: 12.61 kB / 0.8488 GB, free: 2.723 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1079, allocations: 8.609 kB / 0.8488 GB, free: 2.715 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.108, allocations: 125.8 kB / 0.8489 GB, free: 2.594 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.108, allocations: 0.5938 kB / 0.8489 GB, free: 2.594 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001363/0.1081, allocations: 32 kB / 0.849 GB, free: 2.562 MB / 474.8 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 7.296e-05/0.1082, allocations: 104.5 kB / 0.8491 GB, free: 2.453 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1085, allocations: 218.7 kB / 0.8493 GB, free: 2.223 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1085, allocations: 0 / 0.8493 GB, free: 2.223 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.1086, allocations: 60.64 kB / 0.8493 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.1087, allocations: 49.8 kB / 0.8494 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1092, allocations: 358.7 kB / 0.8497 GB, free: 1.738 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.975e-05/0.1093, allocations: 103.5 kB / 0.8498 GB, free: 1.617 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.1093, allocations: 15.44 kB / 0.8498 GB, free: 1.605 MB / 474.8 MB Notification: Performance of SimCode: time 3.91e-07/0.1093, allocations: 1.219 kB / 0.8498 GB, free: 1.605 MB / 474.8 MB Notification: Performance of Templates: time 0.002439/0.1118, allocations: 2.056 MB / 0.8518 GB, free: 15.65 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.096367629244924]