Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.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.001494/0.001494, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001148/0.001148, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.986/0.986, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.7912/0.7912, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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.Plutonium240.Plutonium240_Filipy1996_spleen,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen") [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.001432/0.001432, allocations: 83.27 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 73.98 MB / 0.8421 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen): time 0.003097/0.1411, allocations: 1.822 MB / 0.8439 GB, free: 8.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008706/0.142, allocations: 0.5421 MB / 0.8445 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1421, allocations: 4 kB / 0.8445 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1422, allocations: 11.86 kB / 0.8445 GB, free: 7.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1425, allocations: 68.95 kB / 0.8445 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.1427, allocations: 65.7 kB / 0.8446 GB, free: 7.371 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1429, allocations: 159.3 kB / 0.8448 GB, free: 7.215 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.143, allocations: 5.812 kB / 0.8448 GB, free: 7.211 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1431, allocations: 80.31 kB / 0.8448 GB, free: 7.133 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1433, allocations: 80.28 kB / 0.8449 GB, free: 7.055 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1433, allocations: 8 kB / 0.8449 GB, free: 7.047 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.1433, allocations: 8.562 kB / 0.8449 GB, free: 7.039 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1434, allocations: 28.53 kB / 0.845 GB, free: 7.012 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.1435, allocations: 51.77 kB / 0.845 GB, free: 6.961 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1436, allocations: 96.11 kB / 0.8451 GB, free: 6.867 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1436, allocations: 0.5625 kB / 0.8451 GB, free: 6.867 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1436, allocations: 0 / 0.8451 GB, free: 6.867 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1436, allocations: 4.531 kB / 0.8451 GB, free: 6.863 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.0006975/0.1443, allocations: 389.2 kB / 0.8455 GB, free: 6.449 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1444, allocations: 12.48 kB / 0.8455 GB, free: 6.438 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.1444, allocations: 20.78 kB / 0.8455 GB, free: 6.418 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1446, allocations: 155.4 kB / 0.8457 GB, free: 6.242 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1446, allocations: 8.375 kB / 0.8457 GB, free: 6.234 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.1446, allocations: 8.688 kB / 0.8457 GB, free: 6.227 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.1448, allocations: 106.2 kB / 0.8458 GB, free: 6.117 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1449, allocations: 0.5 kB / 0.8458 GB, free: 6.117 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1449, allocations: 0.7812 kB / 0.8458 GB, free: 6.117 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1449, allocations: 0 / 0.8458 GB, free: 6.117 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1451, allocations: 85.09 kB / 0.8459 GB, free: 6.035 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1455, allocations: 276.4 kB / 0.8461 GB, free: 5.734 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1458, allocations: 127.7 kB / 0.8462 GB, free: 5.602 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1459, allocations: 57.53 kB / 0.8463 GB, free: 5.543 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1459, allocations: 4.562 kB / 0.8463 GB, free: 5.539 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1461, allocations: 115.9 kB / 0.8464 GB, free: 5.414 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1461, allocations: 0.625 kB / 0.8464 GB, free: 5.414 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004289/0.1466, allocations: 194.9 kB / 0.8466 GB, free: 5.219 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1466, allocations: 59.39 kB / 0.8466 GB, free: 5.148 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1467, allocations: 158.1 kB / 0.8468 GB, free: 4.988 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1468, allocations: 30.23 kB / 0.8468 GB, free: 4.953 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.1468, allocations: 108.1 kB / 0.8469 GB, free: 4.844 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1468, allocations: 52.2 kB / 0.847 GB, free: 4.793 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1469, allocations: 34.3 kB / 0.847 GB, free: 4.754 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.147, allocations: 330.8 kB / 0.8473 GB, free: 4.422 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1471, allocations: 86.22 kB / 0.8474 GB, free: 4.332 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.1473, allocations: 199.3 kB / 0.8476 GB, free: 4.102 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.1475, allocations: 144.9 kB / 0.8477 GB, free: 3.953 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1475, allocations: 0.5625 kB / 0.8477 GB, free: 3.953 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003257/0.1479, allocations: 240.6 kB / 0.848 GB, free: 3.703 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.1479, allocations: 34.23 kB / 0.848 GB, free: 3.664 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1479, allocations: 3.984 kB / 0.848 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1479, allocations: 0.6562 kB / 0.848 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.148, allocations: 32.55 kB / 0.848 GB, free: 3.629 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.148, allocations: 8.219 kB / 0.848 GB, free: 3.621 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.1481, allocations: 16.56 kB / 0.8481 GB, free: 3.605 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1482, allocations: 12.53 kB / 0.8481 GB, free: 3.594 MB / 474.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 7.988e-05/0.1482, allocations: 126.4 kB / 0.8482 GB, free: 3.461 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.1482, allocations: 8.578 kB / 0.8482 GB, free: 3.453 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.1485, allocations: 178.3 kB / 0.8484 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1486, allocations: 0 / 0.8484 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1486, allocations: 0.5938 kB / 0.8484 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1486, allocations: 0 / 0.8484 GB, free: 3.277 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1487, allocations: 157.8 kB / 0.8485 GB, free: 3.094 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1487, allocations: 4.594 kB / 0.8485 GB, free: 3.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1488, allocations: 23.97 kB / 0.8486 GB, free: 3.066 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1488, allocations: 0.7188 kB / 0.8486 GB, free: 3.066 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1488, allocations: 4.781 kB / 0.8486 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1488, allocations: 0 / 0.8486 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1488, allocations: 0 / 0.8486 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.1492, allocations: 254.5 kB / 0.8488 GB, free: 2.797 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.1492, allocations: 11.97 kB / 0.8488 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1493, allocations: 8.625 kB / 0.8488 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1493, allocations: 12.48 kB / 0.8488 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.1494, allocations: 20.47 kB / 0.8488 GB, free: 2.746 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1494, allocations: 0 / 0.8488 GB, free: 2.746 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.1495, allocations: 122.5 kB / 0.849 GB, free: 2.629 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1495, allocations: 0.625 kB / 0.849 GB, free: 2.629 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002174/0.1497, allocations: 32 kB / 0.849 GB, free: 2.598 MB / 474.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.0001126/0.1498, allocations: 121.2 kB / 0.8491 GB, free: 2.477 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.1501, allocations: 201.6 kB / 0.8493 GB, free: 2.262 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1501, allocations: 0.625 kB / 0.8493 GB, free: 2.262 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1503, allocations: 68.48 kB / 0.8494 GB, free: 2.195 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1505, allocations: 46.14 kB / 0.8494 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.1511, allocations: 356.2 kB / 0.8498 GB, free: 1.773 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.1512, allocations: 98.8 kB / 0.8498 GB, free: 1.656 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.1513, allocations: 24.02 kB / 0.8499 GB, free: 1.637 MB / 474.8 MB Notification: Performance of SimCode: time 6.51e-07/0.1513, allocations: 0.625 kB / 0.8499 GB, free: 1.637 MB / 474.8 MB Notification: Performance of Templates: time 0.003518/0.1548, allocations: 2.047 MB / 0.8519 GB, free: 15.69 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_spleen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.063708665780723]