Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.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.001969/0.001969, 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.002057/0.002057, allocations: 214.4 kB / 22.25 MB, free: 3.586 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.805/1.805, allocations: 230.6 MB / 256 MB, free: 9.613 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.437/1.437, allocations: 316.7 MB / 0.6144 GB, free: 93.45 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.Plutonium240.Plutonium240,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240") [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.003887/0.003887, allocations: 77.28 kB / 0.775 GB, free: 15.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1899, allocations: 74 MB / 0.8473 GB, free: 5.156 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240): time 0.004117/0.194, allocations: 1.82 MB / 0.8491 GB, free: 3.336 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1957, allocations: 0.5421 MB / 0.8496 GB, free: 2.793 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.1958, allocations: 0.6562 kB / 0.8496 GB, free: 2.793 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1959, allocations: 11.86 kB / 0.8496 GB, free: 2.781 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.1963, allocations: 72.91 kB / 0.8497 GB, free: 2.711 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1966, allocations: 70.23 kB / 0.8497 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.197, allocations: 163.3 kB / 0.8499 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.197, allocations: 10.53 kB / 0.8499 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.1972, allocations: 71.75 kB / 0.85 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.1975, allocations: 79.72 kB / 0.85 GB, free: 2.328 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1976, allocations: 8.594 kB / 0.85 GB, free: 2.32 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.1976, allocations: 4 kB / 0.8501 GB, free: 2.316 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.1977, allocations: 37.03 kB / 0.8501 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1978, allocations: 47.77 kB / 0.8501 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1981, allocations: 95.58 kB / 0.8502 GB, free: 2.141 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.1981, allocations: 4.594 kB / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1981, allocations: 0 / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1981, allocations: 0.75 kB / 0.8502 GB, free: 2.137 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.001314/0.1994, allocations: 391.5 kB / 0.8506 GB, free: 1.723 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1994, allocations: 12.03 kB / 0.8506 GB, free: 1.711 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.1995, allocations: 17.41 kB / 0.8506 GB, free: 1.695 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1998, allocations: 154.8 kB / 0.8508 GB, free: 1.52 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1999, allocations: 8.875 kB / 0.8508 GB, free: 1.512 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.1999, allocations: 12.66 kB / 0.8508 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.2003, allocations: 106.1 kB / 0.8509 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2003, allocations: 0 / 0.8509 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2003, allocations: 4 kB / 0.8509 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2003, allocations: 0.875 kB / 0.8509 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.2008, allocations: 77.14 kB / 0.851 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.2015, allocations: 284.3 kB / 0.8512 GB, free: 1.008 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.2021, allocations: 132.2 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.2023, allocations: 56.81 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2023, allocations: 5.344 kB / 0.8514 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.2027, allocations: 107.3 kB / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 5.26e-06/0.2027, allocations: 3.984 kB / 0.8515 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000853/0.2036, allocations: 204.5 kB / 0.8517 GB, free: 496 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.2036, allocations: 51.41 kB / 0.8518 GB, free: 432 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2039, allocations: 161.5 kB / 0.8519 GB, free: 264 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.2039, allocations: 29.7 kB / 0.852 GB, free: 228 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2041, allocations: 108.1 kB / 0.8521 GB, free: 116 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.2041, allocations: 48.31 kB / 0.8521 GB, free: 68 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2042, allocations: 37.7 kB / 0.8522 GB, free: 24 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.2045, allocations: 333.3 kB / 0.8525 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.2048, allocations: 77.66 kB / 0.8525 GB, free: 15.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.2053, allocations: 202.1 kB / 0.8527 GB, free: 15.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.2058, allocations: 145.5 kB / 0.8529 GB, free: 15.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2058, allocations: 0 / 0.8529 GB, free: 15.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006849/0.2065, allocations: 242.1 kB / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.2065, allocations: 34.33 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2066, allocations: 0 / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2066, allocations: 0.7188 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.2068, allocations: 32.72 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2068, allocations: 3.984 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.2071, allocations: 28.41 kB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2071, allocations: 12.56 kB / 0.8532 GB, free: 14.86 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.0001635/0.2073, allocations: 118.3 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2073, allocations: 12.52 kB / 0.8533 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.2079, allocations: 171.6 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2079, allocations: 0 / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2079, allocations: 8.5 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.208, allocations: 3.984 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.2082, allocations: 154 kB / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2082, allocations: 0 / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2084, allocations: 24.7 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2084, allocations: 0.7188 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2085, allocations: 3.984 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.2085, allocations: 4.625 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2085, allocations: 0 / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.2094, allocations: 256.7 kB / 0.8539 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.2094, allocations: 12.45 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.2094, allocations: 8.547 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.2096, allocations: 12.61 kB / 0.854 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.2097, allocations: 16.53 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2097, allocations: 4 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2099, allocations: 122.5 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2099, allocations: 0.5625 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003619/0.2103, allocations: 32 kB / 0.8541 GB, free: 13.86 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.0001849/0.2105, allocations: 100.3 kB / 0.8542 GB, free: 13.76 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.2111, allocations: 214.1 kB / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2111, allocations: 0 / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.2114, allocations: 65.23 kB / 0.8545 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.2119, allocations: 47.12 kB / 0.8545 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2131, allocations: 314.8 kB / 0.8548 GB, free: 13.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.2132, allocations: 102.8 kB / 0.8549 GB, free: 12.97 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2134, allocations: 24.67 kB / 0.855 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.2135, allocations: 28 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of SimCode: time 4.9e-07/0.2135, allocations: 0 / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of Templates: time 0.3394/0.5529, allocations: 2.619 MB / 0.8576 GB, free: 28.23 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.645257330965251]