Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.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.001084/0.001084, allocations: 104.4 kB / 19.71 MB, free: 436 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.001333/0.001333, allocations: 215.5 kB / 23 MB, free: 2.961 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.034/1.034, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.7517/0.7517, allocations: 312.3 MB / 0.6108 GB, free: 97.5 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_ankle,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle") [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.001605/0.001605, allocations: 78.78 kB / 0.7699 GB, free: 20.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 73.99 MB / 0.8421 GB, free: 10.24 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle): time 0.002081/0.1048, allocations: 1.821 MB / 0.8439 GB, free: 8.418 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007132/0.1055, allocations: 0.5339 MB / 0.8444 GB, free: 7.883 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.1056, allocations: 4.562 kB / 0.8444 GB, free: 7.879 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 8.74e-05/0.1057, allocations: 12.55 kB / 0.8444 GB, free: 7.867 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.106, allocations: 76.75 kB / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1061, allocations: 57.59 kB / 0.8446 GB, free: 7.742 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1063, allocations: 167.3 kB / 0.8447 GB, free: 7.578 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1063, allocations: 5.828 kB / 0.8447 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.1064, allocations: 76.3 kB / 0.8448 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1066, allocations: 84.28 kB / 0.8449 GB, free: 7.418 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1066, allocations: 8 kB / 0.8449 GB, free: 7.41 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.92e-05/0.1066, allocations: 8.594 kB / 0.8449 GB, free: 7.402 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.1067, allocations: 32.39 kB / 0.8449 GB, free: 7.371 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.1067, allocations: 47.78 kB / 0.845 GB, free: 7.324 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1069, allocations: 92.27 kB / 0.8451 GB, free: 7.234 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1069, allocations: 0.625 kB / 0.8451 GB, free: 7.234 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1069, allocations: 4 kB / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1069, allocations: 0.5 kB / 0.8451 GB, free: 7.23 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.0005736/0.1074, allocations: 397.4 kB / 0.8455 GB, free: 6.809 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1075, allocations: 11.89 kB / 0.8455 GB, free: 6.797 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1075, allocations: 17.47 kB / 0.8455 GB, free: 6.781 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1077, allocations: 146.9 kB / 0.8456 GB, free: 6.613 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1077, allocations: 5.062 kB / 0.8456 GB, free: 6.609 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1077, allocations: 16.12 kB / 0.8456 GB, free: 6.594 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1079, allocations: 98.89 kB / 0.8457 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1079, allocations: 0 / 0.8457 GB, free: 6.492 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1079, allocations: 4.625 kB / 0.8457 GB, free: 6.488 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1079, allocations: 0 / 0.8457 GB, free: 6.488 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.108, allocations: 81.3 kB / 0.8458 GB, free: 6.41 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1084, allocations: 288.2 kB / 0.8461 GB, free: 6.098 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1086, allocations: 131.7 kB / 0.8462 GB, free: 5.961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.1087, allocations: 49.39 kB / 0.8463 GB, free: 5.91 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1087, allocations: 0.625 kB / 0.8463 GB, free: 5.91 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1089, allocations: 119.8 kB / 0.8464 GB, free: 5.781 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1089, allocations: 4.531 kB / 0.8464 GB, free: 5.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003385/0.1092, allocations: 194.9 kB / 0.8466 GB, free: 5.582 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1093, allocations: 56 kB / 0.8466 GB, free: 5.516 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1094, allocations: 158.5 kB / 0.8468 GB, free: 5.352 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1094, allocations: 30.2 kB / 0.8468 GB, free: 5.316 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1094, allocations: 104.8 kB / 0.8469 GB, free: 5.211 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1094, allocations: 47.62 kB / 0.8469 GB, free: 5.164 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.1095, allocations: 38.27 kB / 0.847 GB, free: 5.121 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.1096, allocations: 327.4 kB / 0.8473 GB, free: 4.793 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1097, allocations: 90.14 kB / 0.8474 GB, free: 4.699 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1098, allocations: 198.7 kB / 0.8476 GB, free: 4.469 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.11, allocations: 149.9 kB / 0.8477 GB, free: 4.316 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.11, allocations: 0 / 0.8477 GB, free: 4.316 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002477/0.1102, allocations: 234 kB / 0.8479 GB, free: 4.07 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1103, allocations: 37.69 kB / 0.848 GB, free: 4.027 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1103, allocations: 0.625 kB / 0.848 GB, free: 4.027 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1103, allocations: 48 / 0.848 GB, free: 4.027 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.1104, allocations: 32.5 kB / 0.848 GB, free: 3.996 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1104, allocations: 4.531 kB / 0.848 GB, free: 3.992 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.1104, allocations: 24.59 kB / 0.848 GB, free: 3.969 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1105, allocations: 4.719 kB / 0.848 GB, free: 3.965 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 6.904e-05/0.1105, allocations: 130.9 kB / 0.8482 GB, free: 3.828 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1105, allocations: 7.953 kB / 0.8482 GB, free: 3.82 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.1108, allocations: 175.6 kB / 0.8483 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1108, allocations: 0.8438 kB / 0.8483 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1108, allocations: 0 / 0.8483 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1108, allocations: 8.656 kB / 0.8483 GB, free: 3.637 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.1109, allocations: 145.2 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1109, allocations: 4.688 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.111, allocations: 23.98 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.111, allocations: 0.625 kB / 0.8485 GB, free: 3.438 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.111, allocations: 4.625 kB / 0.8485 GB, free: 3.434 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.111, allocations: 0 / 0.8485 GB, free: 3.434 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.111, allocations: 0.5938 kB / 0.8485 GB, free: 3.434 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1113, allocations: 260.7 kB / 0.8488 GB, free: 3.164 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.1113, allocations: 12.55 kB / 0.8488 GB, free: 3.152 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1113, allocations: 4 kB / 0.8488 GB, free: 3.148 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.1114, allocations: 12.64 kB / 0.8488 GB, free: 3.137 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.1114, allocations: 16.59 kB / 0.8488 GB, free: 3.121 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.1115, allocations: 7.938 kB / 0.8488 GB, free: 3.113 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.1115, allocations: 122.5 kB / 0.8489 GB, free: 2.996 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1115, allocations: 0.625 kB / 0.8489 GB, free: 2.996 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001326/0.1116, allocations: 32 kB / 0.849 GB, free: 2.965 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.773e-05/0.1117, allocations: 104.3 kB / 0.8491 GB, free: 2.855 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.112, allocations: 212.6 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.112, allocations: 4 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.1121, allocations: 61.14 kB / 0.8493 GB, free: 2.57 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.1123, allocations: 45.58 kB / 0.8494 GB, free: 2.527 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.1128, allocations: 368.5 kB / 0.8497 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.1128, allocations: 99.25 kB / 0.8498 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1129, allocations: 15.44 kB / 0.8498 GB, free: 2.008 MB / 474.8 MB Notification: Performance of SimCode: time 4.51e-07/0.1129, allocations: 0.5312 kB / 0.8498 GB, free: 2.008 MB / 474.8 MB Notification: Performance of Templates: time 0.002539/0.1154, allocations: 2.052 MB / 0.8518 GB, free: 60 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_ankle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.984101231209934]