Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_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.002063/0.002063, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 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.002275/0.002275, allocations: 219.6 kB / 22.25 MB, free: 3.57 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.709/1.709, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 178] 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 1.614/1.614, allocations: 316.8 MB / 0.6144 GB, free: 93.41 MB / 410.7 MB " [Timeout remaining time 178] 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.Iodine131.Iodine131_Kelly2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference") [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.003978/0.003978, allocations: 77.59 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1926, allocations: 73.99 MB / 0.8473 GB, free: 5.164 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference): time 0.004443/0.197, allocations: 1.808 MB / 0.849 GB, free: 3.355 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1983, allocations: 0.5456 MB / 0.8496 GB, free: 2.809 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.1984, allocations: 0.625 kB / 0.8496 GB, free: 2.809 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1985, allocations: 19.84 kB / 0.8496 GB, free: 2.789 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.1989, allocations: 56.81 kB / 0.8496 GB, free: 2.734 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1991, allocations: 66.08 kB / 0.8497 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1994, allocations: 164 kB / 0.8499 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1994, allocations: 5.312 kB / 0.8499 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1996, allocations: 80.22 kB / 0.8499 GB, free: 2.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.1999, allocations: 76.28 kB / 0.85 GB, free: 2.355 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1999, allocations: 12.83 kB / 0.85 GB, free: 2.344 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.1999, allocations: 8 kB / 0.85 GB, free: 2.336 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.2, allocations: 32.44 kB / 0.8501 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.709e-05/0.2001, allocations: 55.72 kB / 0.8501 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.2003, allocations: 96.16 kB / 0.8502 GB, free: 2.156 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2003, allocations: 0 / 0.8502 GB, free: 2.156 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2003, allocations: 0.625 kB / 0.8502 GB, free: 2.156 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2003, allocations: 2.25 kB / 0.8502 GB, free: 2.156 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.0009666/0.2013, allocations: 391.5 kB / 0.8506 GB, free: 1.738 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2014, allocations: 11.89 kB / 0.8506 GB, free: 1.727 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.2014, allocations: 17.59 kB / 0.8506 GB, free: 1.711 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2017, allocations: 146.9 kB / 0.8508 GB, free: 1.543 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2017, allocations: 9.156 kB / 0.8508 GB, free: 1.535 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.2017, allocations: 12.11 kB / 0.8508 GB, free: 1.523 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.202, allocations: 103.2 kB / 0.8509 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.202, allocations: 0 / 0.8509 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.202, allocations: 4 kB / 0.8509 GB, free: 1.418 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.202, allocations: 3.938 kB / 0.8509 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.2023, allocations: 84.62 kB / 0.851 GB, free: 1.332 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.2029, allocations: 281.4 kB / 0.8512 GB, free: 1.027 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.2033, allocations: 139.2 kB / 0.8514 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.2035, allocations: 53.41 kB / 0.8514 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2035, allocations: 0 / 0.8514 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.2038, allocations: 113 kB / 0.8515 GB, free: 0.707 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2038, allocations: 0 / 0.8515 GB, free: 0.707 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000618/0.2044, allocations: 206.4 kB / 0.8517 GB, free: 0.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2044, allocations: 53.56 kB / 0.8518 GB, free: 448 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2046, allocations: 157.5 kB / 0.8519 GB, free: 284 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2046, allocations: 33.7 kB / 0.852 GB, free: 244 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.2047, allocations: 104.1 kB / 0.8521 GB, free: 136 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.2048, allocations: 43.64 kB / 0.8521 GB, free: 92 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.2048, allocations: 37.7 kB / 0.8521 GB, free: 48 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.205, allocations: 331.3 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2053, allocations: 82.44 kB / 0.8525 GB, free: 15.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.2055, allocations: 200 kB / 0.8527 GB, free: 15.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.2059, allocations: 140.9 kB / 0.8529 GB, free: 15.25 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2059, allocations: 0 / 0.8529 GB, free: 15.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004893/0.2064, allocations: 243.5 kB / 0.8531 GB, free: 15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.2064, allocations: 37.7 kB / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2064, allocations: 0 / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2064, allocations: 0 / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2066, allocations: 27.97 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2066, allocations: 1.219 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.2068, allocations: 31.81 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2068, allocations: 7.938 kB / 0.8532 GB, free: 14.89 MB / 490.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 0.0001171/0.2069, allocations: 118.8 kB / 0.8533 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2069, allocations: 16.47 kB / 0.8533 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.2074, allocations: 180.7 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2074, allocations: 3.938 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2074, allocations: 0 / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2074, allocations: 0 / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2076, allocations: 149.2 kB / 0.8536 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2076, allocations: 8.703 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2078, allocations: 24.61 kB / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2078, allocations: 0 / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2078, allocations: 8.609 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2078, allocations: 4 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2078, allocations: 0.625 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.2084, allocations: 252.7 kB / 0.8539 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.2084, allocations: 16.62 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2085, allocations: 4 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2086, allocations: 12.67 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2087, allocations: 16.59 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2087, allocations: 4 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001203/0.2088, allocations: 122.5 kB / 0.8541 GB, free: 13.92 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2088, allocations: 0.625 kB / 0.8541 GB, free: 13.92 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002186/0.209, allocations: 32 kB / 0.8541 GB, free: 13.89 MB / 490.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 0.0001351/0.2091, allocations: 107 kB / 0.8542 GB, free: 13.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.2096, allocations: 214.2 kB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2096, allocations: 0 / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2098, allocations: 60.39 kB / 0.8545 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.2101, allocations: 44.12 kB / 0.8545 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.2109, allocations: 330.8 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.211, allocations: 103.3 kB / 0.8549 GB, free: 12.98 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.735e-05/0.2111, allocations: 24.23 kB / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.2112, allocations: 15.44 kB / 0.855 GB, free: 12.95 MB / 490.8 MB Notification: Performance of SimCode: time 3.5e-07/0.2112, allocations: 0.5625 kB / 0.855 GB, free: 12.95 MB / 490.8 MB Notification: Performance of Templates: time 0.3313/0.5425, allocations: 2.62 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.6134166300762445]