Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.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.0008906/0.0008906, allocations: 104.4 kB / 19.71 MB, free: 436 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.000928/0.000928, allocations: 216.4 kB / 23.01 MB, free: 2.961 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.179/1.179, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7476/0.7476, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference") [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.001899/0.001899, allocations: 73.61 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 73.99 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference): time 0.002732/0.1629, allocations: 1.814 MB / 0.8439 GB, free: 8.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.1638, allocations: 0.5452 MB / 0.8444 GB, free: 7.98 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.1639, allocations: 4.656 kB / 0.8444 GB, free: 7.977 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.1641, allocations: 7.922 kB / 0.8445 GB, free: 7.969 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.1645, allocations: 72.88 kB / 0.8445 GB, free: 7.898 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1647, allocations: 58.44 kB / 0.8446 GB, free: 7.844 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1649, allocations: 163.3 kB / 0.8447 GB, free: 7.684 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.165, allocations: 13.78 kB / 0.8447 GB, free: 7.672 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1651, allocations: 63.78 kB / 0.8448 GB, free: 7.609 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1653, allocations: 84.27 kB / 0.8449 GB, free: 7.527 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1654, allocations: 8.5 kB / 0.8449 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.1654, allocations: 8.594 kB / 0.8449 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.1654, allocations: 31.89 kB / 0.8449 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.1655, allocations: 48.3 kB / 0.845 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1657, allocations: 104.1 kB / 0.8451 GB, free: 7.332 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1657, allocations: 0 / 0.8451 GB, free: 7.332 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1657, allocations: 0.75 kB / 0.8451 GB, free: 7.332 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1657, allocations: 0 / 0.8451 GB, free: 7.332 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.00069/0.1664, allocations: 393.3 kB / 0.8455 GB, free: 6.914 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1664, allocations: 8.625 kB / 0.8455 GB, free: 6.906 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1665, allocations: 16.84 kB / 0.8455 GB, free: 6.891 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1667, allocations: 147.7 kB / 0.8456 GB, free: 6.723 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1667, allocations: 8.375 kB / 0.8456 GB, free: 6.715 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1667, allocations: 13 kB / 0.8456 GB, free: 6.703 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1669, allocations: 112.8 kB / 0.8458 GB, free: 6.59 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1669, allocations: 0.625 kB / 0.8458 GB, free: 6.59 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1669, allocations: 0.625 kB / 0.8458 GB, free: 6.59 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1669, allocations: 4 kB / 0.8458 GB, free: 6.586 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1671, allocations: 80.98 kB / 0.8458 GB, free: 6.508 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1675, allocations: 284.9 kB / 0.8461 GB, free: 6.199 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.168, allocations: 139.6 kB / 0.8462 GB, free: 6.055 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.795e-05/0.1681, allocations: 45.52 kB / 0.8463 GB, free: 6.008 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1681, allocations: 0.5625 kB / 0.8463 GB, free: 6.008 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1683, allocations: 115.9 kB / 0.8464 GB, free: 5.883 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.1683, allocations: 4.625 kB / 0.8464 GB, free: 5.879 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003731/0.1687, allocations: 194.5 kB / 0.8466 GB, free: 5.684 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1687, allocations: 56 kB / 0.8466 GB, free: 5.617 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1689, allocations: 159.1 kB / 0.8468 GB, free: 5.453 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1689, allocations: 29.92 kB / 0.8468 GB, free: 5.418 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1689, allocations: 100.7 kB / 0.8469 GB, free: 5.316 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.169, allocations: 51.58 kB / 0.847 GB, free: 5.266 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.169, allocations: 34.33 kB / 0.847 GB, free: 5.227 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.1691, allocations: 331.4 kB / 0.8473 GB, free: 4.895 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1692, allocations: 86.27 kB / 0.8474 GB, free: 4.805 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1694, allocations: 204.8 kB / 0.8476 GB, free: 4.57 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1696, allocations: 141.6 kB / 0.8477 GB, free: 4.426 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1696, allocations: 0.5625 kB / 0.8477 GB, free: 4.426 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002875/0.1699, allocations: 238.2 kB / 0.848 GB, free: 4.176 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.1699, allocations: 37.69 kB / 0.848 GB, free: 4.133 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1699, allocations: 0.5938 kB / 0.848 GB, free: 4.133 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1699, allocations: 0.7812 kB / 0.848 GB, free: 4.133 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.17, allocations: 31.92 kB / 0.848 GB, free: 4.102 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.17, allocations: 0.625 kB / 0.848 GB, free: 4.102 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.1701, allocations: 28.5 kB / 0.848 GB, free: 4.074 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1701, allocations: 4 kB / 0.8481 GB, free: 4.07 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 8.095e-05/0.1702, allocations: 126.9 kB / 0.8482 GB, free: 3.938 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.1702, allocations: 7.953 kB / 0.8482 GB, free: 3.93 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1705, allocations: 179.5 kB / 0.8484 GB, free: 3.75 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1705, allocations: 4.656 kB / 0.8484 GB, free: 3.746 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1705, allocations: 0 / 0.8484 GB, free: 3.746 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1705, allocations: 0.6562 kB / 0.8484 GB, free: 3.746 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1706, allocations: 153.2 kB / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1706, allocations: 0.625 kB / 0.8485 GB, free: 3.566 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.1707, allocations: 24.52 kB / 0.8485 GB, free: 3.543 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.1707, allocations: 4.625 kB / 0.8485 GB, free: 3.539 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1707, allocations: 4 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1707, allocations: 0.625 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1707, allocations: 0 / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1711, allocations: 260.1 kB / 0.8488 GB, free: 3.27 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.1711, allocations: 12.55 kB / 0.8488 GB, free: 3.258 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1711, allocations: 8 kB / 0.8488 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.1712, allocations: 12.55 kB / 0.8488 GB, free: 3.238 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.1713, allocations: 16.69 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.1713, allocations: 4 kB / 0.8488 GB, free: 3.219 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.926e-05/0.1713, allocations: 122.4 kB / 0.849 GB, free: 3.102 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1713, allocations: 0.625 kB / 0.849 GB, free: 3.102 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001531/0.1715, allocations: 35.94 kB / 0.849 GB, free: 3.066 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.000112/0.1716, allocations: 104.5 kB / 0.8491 GB, free: 2.957 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1719, allocations: 214 kB / 0.8493 GB, free: 2.73 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1719, allocations: 0 / 0.8493 GB, free: 2.73 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.172, allocations: 60.52 kB / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1722, allocations: 51.38 kB / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.1728, allocations: 364.4 kB / 0.8497 GB, free: 2.238 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.1729, allocations: 102.9 kB / 0.8498 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1729, allocations: 16.12 kB / 0.8499 GB, free: 2.105 MB / 474.8 MB Notification: Performance of SimCode: time 3.71e-07/0.1729, allocations: 0 / 0.8499 GB, free: 2.105 MB / 474.8 MB Notification: Performance of Templates: time 0.003224/0.1762, allocations: 2.042 MB / 0.8519 GB, free: 160 kB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_24Toluenediamine.D_24Toluenediamine_Timchalk1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.32291916757822]