Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.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.001922/0.001922, allocations: 109.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.002004/0.002004, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.673/1.673, allocations: 230.6 MB / 256 MB, free: 9.586 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.391/1.391, allocations: 316.7 MB / 0.6144 GB, free: 93.3 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.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al") [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.005732/0.005732, allocations: 77.66 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1975, allocations: 73.99 MB / 0.8472 GB, free: 5.02 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al): time 0.004034/0.2015, allocations: 1.823 MB / 0.849 GB, free: 3.199 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2029, allocations: 0.5379 MB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.203, allocations: 4 kB / 0.8495 GB, free: 2.656 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2031, allocations: 12.45 kB / 0.8495 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.2035, allocations: 69.03 kB / 0.8496 GB, free: 2.578 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.2037, allocations: 61.31 kB / 0.8497 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.204, allocations: 163.8 kB / 0.8498 GB, free: 2.363 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.204, allocations: 5.297 kB / 0.8498 GB, free: 2.359 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.2042, allocations: 76.33 kB / 0.8499 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.2045, allocations: 84.33 kB / 0.85 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.2045, allocations: 8 kB / 0.85 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.335e-05/0.2045, allocations: 8.5 kB / 0.85 GB, free: 2.188 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.2046, allocations: 36.58 kB / 0.85 GB, free: 2.152 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.2047, allocations: 43.8 kB / 0.8501 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2049, allocations: 96.09 kB / 0.8502 GB, free: 2.016 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2049, allocations: 0.625 kB / 0.8502 GB, free: 2.016 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2049, allocations: 4 kB / 0.8502 GB, free: 2.012 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2049, allocations: 0.5625 kB / 0.8502 GB, free: 2.012 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.0009554/0.2058, allocations: 393.5 kB / 0.8505 GB, free: 1.594 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2059, allocations: 12.02 kB / 0.8506 GB, free: 1.582 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.2059, allocations: 17.44 kB / 0.8506 GB, free: 1.566 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.2062, allocations: 146.9 kB / 0.8507 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2062, allocations: 9.062 kB / 0.8507 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.2063, allocations: 16.12 kB / 0.8507 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2066, allocations: 98.33 kB / 0.8508 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2066, allocations: 0.625 kB / 0.8508 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2066, allocations: 7.938 kB / 0.8508 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2066, allocations: 4.609 kB / 0.8508 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.2069, allocations: 81.2 kB / 0.8509 GB, free: 1.184 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.2075, allocations: 280.3 kB / 0.8512 GB, free: 0.8789 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.2082, allocations: 139.6 kB / 0.8513 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2084, allocations: 49.45 kB / 0.8514 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2084, allocations: 0.5 kB / 0.8514 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.2087, allocations: 120.5 kB / 0.8515 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2087, allocations: 0 / 0.8515 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006524/0.2094, allocations: 198.8 kB / 0.8517 GB, free: 364 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.2095, allocations: 56.06 kB / 0.8517 GB, free: 296 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.2096, allocations: 158.5 kB / 0.8519 GB, free: 128 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.2097, allocations: 30.3 kB / 0.8519 GB, free: 92 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2098, allocations: 100.9 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.2098, allocations: 43.64 kB / 0.852 GB, free: 15.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.2099, allocations: 38.33 kB / 0.8521 GB, free: 15.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2101, allocations: 327.9 kB / 0.8524 GB, free: 15.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2103, allocations: 85.64 kB / 0.8525 GB, free: 15.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.2106, allocations: 201.2 kB / 0.8527 GB, free: 15.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.211, allocations: 147.7 kB / 0.8528 GB, free: 15.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.211, allocations: 0 / 0.8528 GB, free: 15.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005115/0.2116, allocations: 235.4 kB / 0.853 GB, free: 14.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.2116, allocations: 38.22 kB / 0.8531 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2116, allocations: 0 / 0.8531 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2116, allocations: 0.5938 kB / 0.8531 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2118, allocations: 24.48 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2118, allocations: 4.531 kB / 0.8531 GB, free: 14.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.212, allocations: 28.47 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.212, allocations: 8.203 kB / 0.8531 GB, free: 14.75 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.0001661/0.2122, allocations: 130.9 kB / 0.8533 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2122, allocations: 15.89 kB / 0.8533 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.2127, allocations: 174.9 kB / 0.8534 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2127, allocations: 4.438 kB / 0.8534 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2127, allocations: 0 / 0.8534 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2127, allocations: 4.594 kB / 0.8535 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.213, allocations: 153.7 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.213, allocations: 0 / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2131, allocations: 24.48 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2131, allocations: 0.5312 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.2132, allocations: 4.594 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2132, allocations: 0 / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2132, allocations: 0.5 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.2138, allocations: 258.6 kB / 0.8539 GB, free: 13.94 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.2138, allocations: 15.86 kB / 0.8539 GB, free: 13.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.2139, allocations: 8.594 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.214, allocations: 12.64 kB / 0.8539 GB, free: 13.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.2141, allocations: 15.97 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2141, allocations: 8.594 kB / 0.8539 GB, free: 13.88 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000122/0.2142, allocations: 117.9 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.2142, allocations: 0.5938 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000217/0.2144, allocations: 32.5 kB / 0.8541 GB, free: 13.73 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.0001671/0.2146, allocations: 106.8 kB / 0.8542 GB, free: 13.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.2151, allocations: 213.6 kB / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2151, allocations: 0.6562 kB / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.2153, allocations: 60.52 kB / 0.8544 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2156, allocations: 43.78 kB / 0.8545 GB, free: 13.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.2165, allocations: 330.6 kB / 0.8548 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2166, allocations: 99.36 kB / 0.8549 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2168, allocations: 32.53 kB / 0.8549 GB, free: 12.81 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.2168, allocations: 19.44 kB / 0.8549 GB, free: 12.79 MB / 490.8 MB Notification: Performance of SimCode: time 9.11e-07/0.2168, allocations: 0.5 kB / 0.8549 GB, free: 12.79 MB / 490.8 MB Notification: Performance of Templates: time 0.2887/0.5055, allocations: 2.623 MB / 0.8575 GB, free: 28.23 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumDioxide.UraniumDioxide_Morris1989_james_et_al.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.391085707815364]