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.002325/0.002325, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002538/0.002538, allocations: 211.6 kB / 22.24 MB, free: 3.574 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.8/1.8, allocations: 230.6 MB / 256 MB, free: 9.594 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.433/1.433, allocations: 316.8 MB / 0.6144 GB, free: 93.02 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_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: 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.004028/0.004028, allocations: 80.06 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1881, allocations: 74 MB / 0.8473 GB, free: 4.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h): time 0.003587/0.1916, allocations: 1.819 MB / 0.849 GB, free: 3.035 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1929, allocations: 0.5422 MB / 0.8496 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.193, allocations: 0 / 0.8496 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1931, allocations: 16.52 kB / 0.8496 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.1935, allocations: 60.3 kB / 0.8496 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1937, allocations: 66.39 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.194, allocations: 163.3 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.194, allocations: 5.906 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1942, allocations: 76.47 kB / 0.8499 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1944, allocations: 83.66 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1945, allocations: 8.5 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.438e-05/0.1945, allocations: 8.5 kB / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.1946, allocations: 35.83 kB / 0.8501 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.1947, allocations: 48.41 kB / 0.8501 GB, free: 1.938 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1949, allocations: 96.06 kB / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1949, allocations: 0 / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1949, allocations: 0.625 kB / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1949, allocations: 0.5312 kB / 0.8502 GB, free: 1.844 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.0009464/0.1958, allocations: 393.2 kB / 0.8506 GB, free: 1.426 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1959, allocations: 12.03 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1959, allocations: 13.47 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1962, allocations: 150.9 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1962, allocations: 4.969 kB / 0.8508 GB, free: 1.227 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.1962, allocations: 16.7 kB / 0.8508 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.1965, allocations: 98 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1965, allocations: 0 / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1966, allocations: 8.625 kB / 0.8509 GB, free: 1.105 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1966, allocations: 1.219 kB / 0.8509 GB, free: 1.105 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.1969, allocations: 79.91 kB / 0.851 GB, free: 1.027 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.1977, allocations: 281.2 kB / 0.8512 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.1981, allocations: 139 kB / 0.8514 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.1983, allocations: 54.62 kB / 0.8514 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1983, allocations: 0 / 0.8514 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.1986, allocations: 119.3 kB / 0.8515 GB, free: 404 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1986, allocations: 2.344 kB / 0.8515 GB, free: 404 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006293/0.1993, allocations: 201.6 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1993, allocations: 51.41 kB / 0.8518 GB, free: 132 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1995, allocations: 157.2 kB / 0.8519 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1996, allocations: 33.7 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.1997, allocations: 108.9 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.1997, allocations: 39.64 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.1998, allocations: 43.86 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2, allocations: 326.8 kB / 0.8524 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.2002, allocations: 81.66 kB / 0.8525 GB, free: 15.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2005, allocations: 198.1 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.2009, allocations: 145.5 kB / 0.8528 GB, free: 14.94 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2009, allocations: 1.094 kB / 0.8528 GB, free: 14.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005181/0.2014, allocations: 241.4 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.2014, allocations: 34.2 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2014, allocations: 0 / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2015, allocations: 0.6562 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.2016, allocations: 28.5 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2016, allocations: 7.922 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.2018, allocations: 29.06 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2018, allocations: 4 kB / 0.8532 GB, free: 14.58 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.0001335/0.202, allocations: 118.9 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.202, allocations: 19.94 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.2025, allocations: 171.6 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2025, allocations: 3.984 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2025, allocations: 0.6875 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2025, allocations: 0.625 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.2027, allocations: 149.2 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2027, allocations: 0.7812 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2029, allocations: 32.67 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2029, allocations: 7.969 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2029, allocations: 4.484 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2029, allocations: 4.688 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2029, allocations: 0 / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.2036, allocations: 257.5 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.2036, allocations: 16.5 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2036, allocations: 0 / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2037, allocations: 16.61 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.2038, allocations: 12.53 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2038, allocations: 12.66 kB / 0.854 GB, free: 13.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001291/0.204, allocations: 122.3 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.204, allocations: 0.625 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005039/0.2045, allocations: 32 kB / 0.8541 GB, free: 13.57 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.0001554/0.2046, allocations: 100.3 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.2051, allocations: 214.1 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2051, allocations: 0.5312 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.2053, allocations: 64.45 kB / 0.8545 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2057, allocations: 40.25 kB / 0.8545 GB, free: 13.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.2065, allocations: 327 kB / 0.8548 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2066, allocations: 107.1 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.2067, allocations: 20.42 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.2068, allocations: 15.44 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 6.22e-07/0.2068, allocations: 0.5 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of Templates: time 0.3485/0.5553, allocations: 2.633 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_72_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.539376941975206]