Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.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.0006663/0.0006663, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009006/0.001567, 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.0007072/0.0007072, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.00165, 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 0.9753/0.9753, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09059/1.066, allocations: 53.67 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.7558/0.7558, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02544/0.7812, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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_Ravichandran2014_0_and_72_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.5444 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.128e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.45 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h): time 0.001612/0.001624, allocations: 1.951 MB / 0.5463 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005954/0.002219, allocations: 0.5727 MB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.002263, allocations: 4 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.002303, allocations: 11.86 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.002497, allocations: 67.53 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.002621, allocations: 59.78 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.002773, allocations: 180 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.002809, allocations: 9.906 kB / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.002935, allocations: 107.8 kB / 0.5473 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.003093, allocations: 75.83 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003114, allocations: 4 kB / 0.5474 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.003135, allocations: 8 kB / 0.5474 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.003176, allocations: 23.94 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.003218, allocations: 31.88 kB / 0.5474 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.003325, allocations: 79.67 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.003338, allocations: 0 / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003339, allocations: 8 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.003351, allocations: 0 / 0.5475 GB, free: 27.25 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.0004853/0.003836, allocations: 384.1 kB / 0.5479 GB, free: 26.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.003869, allocations: 15.89 kB / 0.5479 GB, free: 26.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.003911, allocations: 12.92 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.004046, allocations: 154.1 kB / 0.548 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.004066, allocations: 8.375 kB / 0.5481 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.004085, allocations: 4.375 kB / 0.5481 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.004206, allocations: 81.02 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.004215, allocations: 3.938 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004224, allocations: 4 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004229, allocations: 0 / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.004272, allocations: 27.98 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.004525, allocations: 197.8 kB / 0.5484 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.004642, allocations: 118.9 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.004669, allocations: 20.84 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.004684, allocations: 8 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.004796, allocations: 86.23 kB / 0.5486 GB, free: 26.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.004797, allocations: 0 / 0.5486 GB, free: 26.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001363/0.004934, allocations: 89.81 kB / 0.5487 GB, free: 25.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.004955, allocations: 55.41 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.724e-05/0.005012, allocations: 150.6 kB / 0.5489 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005024, allocations: 33.7 kB / 0.5489 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.005049, allocations: 96.06 kB / 0.549 GB, free: 25.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.005071, allocations: 39.67 kB / 0.549 GB, free: 25.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.005113, allocations: 49.64 kB / 0.5491 GB, free: 25.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.665e-05/0.00514, allocations: 326.8 kB / 0.5494 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.005171, allocations: 44.52 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.005218, allocations: 154.1 kB / 0.5496 GB, free: 24.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.005275, allocations: 91.06 kB / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005277, allocations: 0 / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.689e-05/0.005364, allocations: 143.8 kB / 0.5498 GB, free: 24.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.005387, allocations: 33.7 kB / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.005391, allocations: 0 / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.005399, allocations: 3.984 kB / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.005504, allocations: 39.92 kB / 0.5499 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005506, allocations: 4 kB / 0.5499 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.005574, allocations: 11.94 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.005582, allocations: 7.109 kB / 0.5499 GB, free: 24.56 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.357e-05/0.005626, allocations: 124.7 kB / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.005639, allocations: 11.92 kB / 0.55 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.005731, allocations: 98.36 kB / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005732, allocations: 0 / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005734, allocations: 8 kB / 0.5501 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.005737, allocations: 0 / 0.5501 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.988e-05/0.005807, allocations: 101.8 kB / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005808, allocations: 0 / 0.5502 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.005881, allocations: 25.67 kB / 0.5503 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.005894, allocations: 7.953 kB / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.005896, allocations: 3.938 kB / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.005907, allocations: 3.984 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005909, allocations: 4 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00591, allocations: 48 / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.006053, allocations: 142.6 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.006071, allocations: 7.938 kB / 0.5504 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.00613, allocations: 11.98 kB / 0.5504 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.006166, allocations: 11.97 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.006173, allocations: 11.94 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.701e-05/0.0062, allocations: 39.12 kB / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0062, allocations: 0 / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001167/0.006317, allocations: 35.98 kB / 0.5505 GB, free: 23.87 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.098e-05/0.006378, allocations: 80.42 kB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.0065, allocations: 153.2 kB / 0.5507 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.006503, allocations: 0 / 0.5507 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.006546, allocations: 44.77 kB / 0.5508 GB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.006687, allocations: 51.52 kB / 0.5508 GB, free: 23.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.009318, allocations: 391.9 kB / 0.5512 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.009357, allocations: 89.81 kB / 0.5513 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.009481, allocations: 91.28 kB / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009482, allocations: 4 kB / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of Templates: time 0.001934/0.01142, allocations: 2.047 MB / 0.5534 GB, free: 20.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.024655669927597]