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.0008809/0.0008809, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001202/0.002083, allocations: 443.8 kB / 10.3 MB, free: 400 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.0009302/0.0009302, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003659/0.004589, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.056/1.056, allocations: 177.2 MB / 189.5 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08304/1.139, allocations: 53.65 MB / 243.2 MB, free: 15.57 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.7383/0.7383, allocations: 291.1 MB / 0.5225 GB, free: 52.76 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02921/0.7675, allocations: 21.04 MB / 0.5431 GB, free: 31.79 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.Iodine131.Iodine131_Kelly2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.907e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference): time 0.002138/0.002157, allocations: 1.946 MB / 0.5463 GB, free: 28.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.002902, allocations: 0.5728 MB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.002954, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.003001, allocations: 11.86 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.003226, allocations: 67.53 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.006093, allocations: 59.84 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.006292, allocations: 176 kB / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.006332, allocations: 13.84 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.006493, allocations: 107.8 kB / 0.5473 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.006684, allocations: 75.83 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.006709, allocations: 4 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.006731, allocations: 8 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.006778, allocations: 27.94 kB / 0.5474 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.006829, allocations: 31.88 kB / 0.5474 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.006955, allocations: 79.67 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.761e-05/0.006973, allocations: 4 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006974, allocations: 0 / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.006988, allocations: 0 / 0.5475 GB, free: 27.23 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.0005779/0.007565, allocations: 384.1 kB / 0.5479 GB, free: 26.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.007595, allocations: 16.03 kB / 0.5479 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.007637, allocations: 12.92 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.007776, allocations: 146.9 kB / 0.548 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.007797, allocations: 12.31 kB / 0.5481 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.007819, allocations: 4.375 kB / 0.5481 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.007953, allocations: 77.02 kB / 0.5481 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.007961, allocations: 7.938 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.007972, allocations: 0 / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.007979, allocations: 1.625 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.00803, allocations: 27.98 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.008307, allocations: 201.8 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.008435, allocations: 122.9 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.008468, allocations: 20.84 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.008483, allocations: 4 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.008604, allocations: 82.25 kB / 0.5486 GB, free: 26.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.008606, allocations: 3.984 kB / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001538/0.00876, allocations: 89.81 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.008783, allocations: 55.41 kB / 0.5487 GB, free: 25.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.008844, allocations: 154.6 kB / 0.5489 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.008856, allocations: 33.7 kB / 0.5489 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.008885, allocations: 96.06 kB / 0.549 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.008908, allocations: 39.67 kB / 0.549 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.008948, allocations: 45.64 kB / 0.5491 GB, free: 25.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.008977, allocations: 326.8 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.009009, allocations: 44.52 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.009061, allocations: 154.1 kB / 0.5496 GB, free: 24.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/0.009124, allocations: 87.28 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009126, allocations: 4 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.491e-05/0.009221, allocations: 147.8 kB / 0.5498 GB, free: 24.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.009247, allocations: 33.7 kB / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.009251, allocations: 0 / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.009258, allocations: 3.984 kB / 0.5498 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.009363, allocations: 35.98 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.009365, allocations: 3.047 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.009432, allocations: 15.31 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.009441, allocations: 7.984 kB / 0.5499 GB, free: 24.55 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 4.62e-05/0.009487, allocations: 128.6 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.0095, allocations: 11.92 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.324e-05/0.009593, allocations: 94.42 kB / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.009595, allocations: 0 / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.009596, allocations: 4 kB / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.009599, allocations: 0 / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.621e-05/0.009665, allocations: 101.8 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.009666, allocations: 0 / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.009737, allocations: 27.92 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.00975, allocations: 7.953 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.009752, allocations: 7.938 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.009762, allocations: 3.984 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.009763, allocations: 4 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009764, allocations: 0 / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.009884, allocations: 134.7 kB / 0.5504 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.0099, allocations: 3.938 kB / 0.5504 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.009946, allocations: 15.92 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.009981, allocations: 15.97 kB / 0.5504 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.009986, allocations: 7.938 kB / 0.5504 GB, free: 23.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.548e-05/0.01001, allocations: 39.12 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 4.031 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001149/0.01013, allocations: 35.98 kB / 0.5505 GB, free: 23.86 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 6.146e-05/0.01019, allocations: 80.42 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.0103, allocations: 148.8 kB / 0.5507 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01031, allocations: 0 / 0.5507 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.01034, allocations: 44.77 kB / 0.5508 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.01048, allocations: 55.52 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.01295, allocations: 387.9 kB / 0.5512 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.01299, allocations: 93.81 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.01312, allocations: 91.28 kB / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01312, allocations: 0 / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002167/0.01528, allocations: 2.047 MB / 0.5534 GB, free: 20.88 MB / 410.7 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Kelly2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.198010484687984]