Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.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.0009139/0.0009139, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009815/0.0009815, allocations: 217.8 kB / 23 MB, free: 2.977 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.9811/0.9811, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7056/0.7056, allocations: 312.3 MB / 0.6108 GB, free: 97.81 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.Americium241.Americium241,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241") [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.001461/0.001461, allocations: 77.36 kB / 0.7699 GB, free: 20.26 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1315, allocations: 73.99 MB / 0.8422 GB, free: 10.4 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241): time 0.002268/0.1338, allocations: 1.826 MB / 0.844 GB, free: 8.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.1345, allocations: 0.5454 MB / 0.8445 GB, free: 8.027 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1346, allocations: 0.6875 kB / 0.8445 GB, free: 8.027 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.1347, allocations: 11.86 kB / 0.8445 GB, free: 8.016 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.135, allocations: 60.77 kB / 0.8446 GB, free: 7.957 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.1351, allocations: 64.83 kB / 0.8446 GB, free: 7.898 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1353, allocations: 167.3 kB / 0.8448 GB, free: 7.734 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.1353, allocations: 6.031 kB / 0.8448 GB, free: 7.73 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.1354, allocations: 76.31 kB / 0.8449 GB, free: 7.656 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1357, allocations: 83.66 kB / 0.8449 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1357, allocations: 4.625 kB / 0.845 GB, free: 7.57 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.24e-05/0.1357, allocations: 12.56 kB / 0.845 GB, free: 7.559 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1358, allocations: 39.89 kB / 0.845 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.1358, allocations: 48.41 kB / 0.8451 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.136, allocations: 99.56 kB / 0.8451 GB, free: 7.375 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.136, allocations: 0.5 kB / 0.8451 GB, free: 7.375 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.246e-06/0.136, allocations: 0.625 kB / 0.8451 GB, free: 7.375 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.136, allocations: 0 / 0.8451 GB, free: 7.375 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.0006569/0.1367, allocations: 395 kB / 0.8455 GB, free: 6.957 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1367, allocations: 8.656 kB / 0.8455 GB, free: 6.949 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.1368, allocations: 17.47 kB / 0.8455 GB, free: 6.934 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.137, allocations: 146.9 kB / 0.8457 GB, free: 6.766 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.137, allocations: 4.906 kB / 0.8457 GB, free: 6.762 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.137, allocations: 24.09 kB / 0.8457 GB, free: 6.738 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1372, allocations: 94.78 kB / 0.8458 GB, free: 6.641 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1372, allocations: 0 / 0.8458 GB, free: 6.641 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1372, allocations: 4.5 kB / 0.8458 GB, free: 6.637 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1372, allocations: 4.594 kB / 0.8458 GB, free: 6.633 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1374, allocations: 85.03 kB / 0.8459 GB, free: 6.551 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1378, allocations: 280.3 kB / 0.8462 GB, free: 6.246 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.1381, allocations: 139.8 kB / 0.8463 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1382, allocations: 49.44 kB / 0.8463 GB, free: 6.051 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1382, allocations: 4 kB / 0.8463 GB, free: 6.047 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1384, allocations: 116.5 kB / 0.8465 GB, free: 5.922 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1384, allocations: 0 / 0.8465 GB, free: 5.922 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003724/0.1388, allocations: 198.2 kB / 0.8466 GB, free: 5.727 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1388, allocations: 55.41 kB / 0.8467 GB, free: 5.66 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1389, allocations: 158.2 kB / 0.8469 GB, free: 5.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1389, allocations: 29.7 kB / 0.8469 GB, free: 5.465 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.139, allocations: 108.7 kB / 0.847 GB, free: 5.355 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.139, allocations: 43.64 kB / 0.847 GB, free: 5.312 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1391, allocations: 38.2 kB / 0.8471 GB, free: 5.27 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.1392, allocations: 327.6 kB / 0.8474 GB, free: 4.941 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1393, allocations: 86.12 kB / 0.8475 GB, free: 4.852 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1394, allocations: 198.8 kB / 0.8476 GB, free: 4.621 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1396, allocations: 145 kB / 0.8478 GB, free: 4.473 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1396, allocations: 0.625 kB / 0.8478 GB, free: 4.473 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002483/0.1399, allocations: 244.1 kB / 0.848 GB, free: 4.219 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1399, allocations: 30.3 kB / 0.848 GB, free: 4.184 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1399, allocations: 4.625 kB / 0.8481 GB, free: 4.18 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1399, allocations: 4 kB / 0.8481 GB, free: 4.176 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.14, allocations: 36.53 kB / 0.8481 GB, free: 4.141 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.14, allocations: 0.625 kB / 0.8481 GB, free: 4.141 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.1401, allocations: 24.53 kB / 0.8481 GB, free: 4.117 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1401, allocations: 4 kB / 0.8481 GB, free: 4.113 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.921e-05/0.1402, allocations: 122.4 kB / 0.8482 GB, free: 3.984 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.1402, allocations: 8.547 kB / 0.8482 GB, free: 3.977 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.1404, allocations: 179.5 kB / 0.8484 GB, free: 3.797 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1404, allocations: 7.984 kB / 0.8484 GB, free: 3.789 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1404, allocations: 0.625 kB / 0.8484 GB, free: 3.789 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1405, allocations: 0.5938 kB / 0.8484 GB, free: 3.789 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.1408, allocations: 149.4 kB / 0.8486 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1408, allocations: 0.625 kB / 0.8486 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.1408, allocations: 24.55 kB / 0.8486 GB, free: 3.59 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1408, allocations: 4 kB / 0.8486 GB, free: 3.586 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1409, allocations: 8.578 kB / 0.8486 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1409, allocations: 0.5312 kB / 0.8486 GB, free: 3.578 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1409, allocations: 3.938 kB / 0.8486 GB, free: 3.574 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1412, allocations: 254.6 kB / 0.8488 GB, free: 3.309 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.1412, allocations: 19.91 kB / 0.8489 GB, free: 3.289 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1412, allocations: 0.7188 kB / 0.8489 GB, free: 3.289 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.1413, allocations: 16.58 kB / 0.8489 GB, free: 3.273 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.1413, allocations: 11.97 kB / 0.8489 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1413, allocations: 4.5 kB / 0.8489 GB, free: 3.258 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.1414, allocations: 122.5 kB / 0.849 GB, free: 3.141 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1414, allocations: 0.625 kB / 0.849 GB, free: 3.141 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001351/0.1415, allocations: 32 kB / 0.849 GB, free: 3.109 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 8.059e-05/0.1416, allocations: 104.5 kB / 0.8491 GB, free: 3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1419, allocations: 212.3 kB / 0.8493 GB, free: 2.777 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1419, allocations: 0 / 0.8493 GB, free: 2.777 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.142, allocations: 64.52 kB / 0.8494 GB, free: 2.715 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.1421, allocations: 49.8 kB / 0.8495 GB, free: 2.668 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.1426, allocations: 356.5 kB / 0.8498 GB, free: 2.289 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.1427, allocations: 103.3 kB / 0.8499 GB, free: 2.168 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1427, allocations: 15.94 kB / 0.8499 GB, free: 2.156 MB / 474.8 MB Notification: Performance of SimCode: time 9.92e-07/0.1427, allocations: 0 / 0.8499 GB, free: 2.156 MB / 474.8 MB Notification: Performance of Templates: time 0.002512/0.1453, allocations: 2.046 MB / 0.8519 GB, free: 208 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8482747208327055]