Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_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.002803/0.002803, allocations: 105.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.003137/0.003137, allocations: 219.6 kB / 22.25 MB, free: 3.582 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.692/1.692, allocations: 230.6 MB / 256 MB, free: 9.637 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.448/1.448, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_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.006774/0.006774, allocations: 70.02 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1665, allocations: 73.99 MB / 0.8472 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference): time 0.003564/0.1701, allocations: 1.83 MB / 0.849 GB, free: 3.051 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1714, allocations: 0.5383 MB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1715, allocations: 0 / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1716, allocations: 16.34 kB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.172, allocations: 64.92 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1722, allocations: 57.78 kB / 0.8497 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1724, allocations: 167.3 kB / 0.8498 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1725, allocations: 5.938 kB / 0.8499 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1726, allocations: 72.34 kB / 0.8499 GB, free: 2.141 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.1729, allocations: 88.25 kB / 0.85 GB, free: 2.055 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.1729, allocations: 4 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.238e-05/0.173, allocations: 8.5 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.1731, allocations: 36.45 kB / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.1732, allocations: 47.78 kB / 0.8501 GB, free: 1.961 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1733, allocations: 103.9 kB / 0.8502 GB, free: 1.863 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1733, allocations: 0 / 0.8502 GB, free: 1.863 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1734, allocations: 0.5 kB / 0.8502 GB, free: 1.863 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1734, allocations: 0.5938 kB / 0.8502 GB, free: 1.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.0009084/0.1743, allocations: 393.3 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1743, allocations: 8.031 kB / 0.8506 GB, free: 1.438 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.1744, allocations: 17.34 kB / 0.8506 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1746, allocations: 147.5 kB / 0.8507 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1746, allocations: 4.375 kB / 0.8507 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.1747, allocations: 20.69 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.175, allocations: 94.22 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.175, allocations: 0.625 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.175, allocations: 4 kB / 0.8509 GB, free: 1.129 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.175, allocations: 4.594 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1753, allocations: 80.78 kB / 0.8509 GB, free: 1.047 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.1759, allocations: 281.5 kB / 0.8512 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1763, allocations: 140.4 kB / 0.8513 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1765, allocations: 48.81 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1765, allocations: 4 kB / 0.8514 GB, free: 0.543 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.1768, allocations: 120 kB / 0.8515 GB, free: 424 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1768, allocations: 0 / 0.8515 GB, free: 424 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006417/0.1774, allocations: 199.8 kB / 0.8517 GB, free: 220 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1775, allocations: 55.41 kB / 0.8517 GB, free: 152 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1777, allocations: 156.6 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.1778, allocations: 29.7 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1779, allocations: 114.7 kB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.1779, allocations: 39.64 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.178, allocations: 37.7 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1782, allocations: 326.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.1784, allocations: 81.66 kB / 0.8525 GB, free: 15.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.1787, allocations: 205.2 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.179, allocations: 143.4 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.179, allocations: 0 / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004907/0.1795, allocations: 244.5 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.1796, allocations: 29.7 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1796, allocations: 0.5 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1796, allocations: 8.672 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1798, allocations: 24.48 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1798, allocations: 0 / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.18, allocations: 25.06 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.18, allocations: 4 kB / 0.8532 GB, free: 14.61 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.0001305/0.1801, allocations: 134.8 kB / 0.8533 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.1801, allocations: 7.953 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.1806, allocations: 175.5 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1806, allocations: 4.625 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1806, allocations: 0 / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1806, allocations: 4.625 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1808, allocations: 149.2 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1808, allocations: 0.9375 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.181, allocations: 32.5 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.181, allocations: 7.938 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.181, allocations: 0.5312 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.181, allocations: 0.625 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.181, allocations: 0 / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.1816, allocations: 257.4 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.1817, allocations: 16.44 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1817, allocations: 0.625 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1818, allocations: 16.58 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.1819, allocations: 15.91 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1819, allocations: 12.66 kB / 0.854 GB, free: 13.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001282/0.182, allocations: 119.2 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.182, allocations: 0.5625 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002223/0.1823, allocations: 32.75 kB / 0.8541 GB, free: 13.59 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.0001438/0.1824, allocations: 95.75 kB / 0.8542 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.1829, allocations: 218.1 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1829, allocations: 0.5938 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1831, allocations: 60.48 kB / 0.8545 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1834, allocations: 48.73 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.1842, allocations: 330.8 kB / 0.8548 GB, free: 12.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1843, allocations: 95.55 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1844, allocations: 24.36 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.1845, allocations: 19.42 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 3.2e-07/0.1845, allocations: 0.5 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.2705/0.4549, allocations: 2.64 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.435016811126843]