Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_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.001422/0.001422, allocations: 104.3 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.001105/0.001105, allocations: 217.3 kB / 23 MB, free: 2.973 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.149/1.149, 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.8416/0.8416, allocations: 312.3 MB / 0.6108 GB, free: 97.13 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.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_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.00129/0.00129, allocations: 76.19 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1516, allocations: 73.99 MB / 0.8421 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference): time 0.004186/0.1558, allocations: 1.814 MB / 0.8439 GB, free: 8.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.157, allocations: 0.5417 MB / 0.8445 GB, free: 7.465 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.1571, allocations: 3.938 kB / 0.8445 GB, free: 7.461 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1573, allocations: 16.45 kB / 0.8445 GB, free: 7.445 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.1578, allocations: 68.98 kB / 0.8445 GB, free: 7.379 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.158, allocations: 61.36 kB / 0.8446 GB, free: 7.32 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1583, allocations: 163.8 kB / 0.8448 GB, free: 7.16 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.1583, allocations: 5.812 kB / 0.8448 GB, free: 7.156 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.1585, allocations: 76.33 kB / 0.8448 GB, free: 7.082 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.1588, allocations: 84.14 kB / 0.8449 GB, free: 7 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1588, allocations: 8 kB / 0.8449 GB, free: 6.992 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.67e-05/0.1588, allocations: 8.5 kB / 0.8449 GB, free: 6.984 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.308e-05/0.1589, allocations: 28.41 kB / 0.845 GB, free: 6.957 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.159, allocations: 48.41 kB / 0.845 GB, free: 6.91 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1592, allocations: 95.58 kB / 0.8451 GB, free: 6.816 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1592, allocations: 4.703 kB / 0.8451 GB, free: 6.812 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1592, allocations: 0 / 0.8451 GB, free: 6.812 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1592, allocations: 0.5938 kB / 0.8451 GB, free: 6.812 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.0008565/0.1601, allocations: 389.3 kB / 0.8455 GB, free: 6.398 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.1601, allocations: 12.03 kB / 0.8455 GB, free: 6.387 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.1602, allocations: 13.44 kB / 0.8455 GB, free: 6.375 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1606, allocations: 158.8 kB / 0.8456 GB, free: 6.195 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1606, allocations: 9 kB / 0.8456 GB, free: 6.188 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1607, allocations: 8.688 kB / 0.8457 GB, free: 6.18 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1609, allocations: 105.4 kB / 0.8458 GB, free: 6.074 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1609, allocations: 0.6562 kB / 0.8458 GB, free: 6.074 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1609, allocations: 4 kB / 0.8458 GB, free: 6.07 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1609, allocations: 0.5938 kB / 0.8458 GB, free: 6.07 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1611, allocations: 80.45 kB / 0.8458 GB, free: 5.992 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.1616, allocations: 284.9 kB / 0.8461 GB, free: 5.684 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1618, allocations: 131.7 kB / 0.8462 GB, free: 5.547 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.202e-05/0.1619, allocations: 53.31 kB / 0.8463 GB, free: 5.492 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1619, allocations: 8.609 kB / 0.8463 GB, free: 5.484 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1622, allocations: 111.8 kB / 0.8464 GB, free: 5.363 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 3.005e-06/0.1622, allocations: 0.7188 kB / 0.8464 GB, free: 5.363 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000414/0.1626, allocations: 198.9 kB / 0.8466 GB, free: 5.164 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1626, allocations: 56.22 kB / 0.8466 GB, free: 5.098 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1628, allocations: 157.5 kB / 0.8468 GB, free: 4.938 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1628, allocations: 30.2 kB / 0.8468 GB, free: 4.902 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.1629, allocations: 108.1 kB / 0.8469 GB, free: 4.793 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1629, allocations: 48.3 kB / 0.847 GB, free: 4.746 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.1629, allocations: 42.19 kB / 0.847 GB, free: 4.699 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1631, allocations: 330.8 kB / 0.8473 GB, free: 4.367 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1632, allocations: 82.78 kB / 0.8474 GB, free: 4.281 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1634, allocations: 201 kB / 0.8476 GB, free: 4.051 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1635, allocations: 139.1 kB / 0.8477 GB, free: 3.906 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1635, allocations: 0.5938 kB / 0.8477 GB, free: 3.906 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002883/0.1638, allocations: 243.9 kB / 0.848 GB, free: 3.652 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.1639, allocations: 34.36 kB / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1639, allocations: 0.5938 kB / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1639, allocations: 0 / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.164, allocations: 32.64 kB / 0.848 GB, free: 3.582 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.164, allocations: 0 / 0.848 GB, free: 3.582 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.1641, allocations: 24.55 kB / 0.8481 GB, free: 3.559 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1641, allocations: 8.688 kB / 0.8481 GB, free: 3.551 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 9.423e-05/0.1642, allocations: 118.4 kB / 0.8482 GB, free: 3.426 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.1642, allocations: 12.61 kB / 0.8482 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1646, allocations: 175.1 kB / 0.8484 GB, free: 3.238 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1646, allocations: 0.5938 kB / 0.8484 GB, free: 3.238 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1646, allocations: 4.438 kB / 0.8484 GB, free: 3.234 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1646, allocations: 0.625 kB / 0.8484 GB, free: 3.234 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.1647, allocations: 161.1 kB / 0.8485 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1647, allocations: 0.5938 kB / 0.8485 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1648, allocations: 24.64 kB / 0.8485 GB, free: 3.023 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1648, allocations: 4 kB / 0.8485 GB, free: 3.02 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1648, allocations: 0.625 kB / 0.8485 GB, free: 3.02 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1648, allocations: 4 kB / 0.8485 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1648, allocations: 0.625 kB / 0.8485 GB, free: 3.016 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1652, allocations: 264.2 kB / 0.8488 GB, free: 2.742 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.1652, allocations: 8.859 kB / 0.8488 GB, free: 2.734 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1653, allocations: 4 kB / 0.8488 GB, free: 2.73 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.1653, allocations: 12.55 kB / 0.8488 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.1654, allocations: 16.66 kB / 0.8488 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1654, allocations: 4 kB / 0.8488 GB, free: 2.699 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.414e-05/0.1655, allocations: 124 kB / 0.849 GB, free: 2.578 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 0 / 0.849 GB, free: 2.578 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001444/0.1656, allocations: 33.69 kB / 0.849 GB, free: 2.547 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.0001592/0.1658, allocations: 107.2 kB / 0.8491 GB, free: 2.434 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.1661, allocations: 209.5 kB / 0.8493 GB, free: 2.211 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1661, allocations: 1.344 kB / 0.8493 GB, free: 2.211 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1662, allocations: 67.89 kB / 0.8494 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.1665, allocations: 40.73 kB / 0.8494 GB, free: 2.109 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.1672, allocations: 357.5 kB / 0.8497 GB, free: 1.73 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.185e-05/0.1673, allocations: 101.5 kB / 0.8498 GB, free: 1.609 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.1673, allocations: 20.34 kB / 0.8499 GB, free: 1.594 MB / 474.8 MB Notification: Performance of SimCode: time 8.11e-07/0.1673, allocations: 0 / 0.8499 GB, free: 1.594 MB / 474.8 MB Notification: Performance of Templates: time 0.003622/0.1709, allocations: 2.056 MB / 0.8519 GB, free: 15.64 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury_Guarino1976_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2055597472935915]