Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_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.00096/0.00096, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009872/0.0009872, allocations: 166.3 kB / 23.21 MB, free: 1.336 MB / 18.57 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.9241/0.9241, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.7998/0.7998, allocations: 291.1 MB / 0.5382 GB, free: 51.92 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.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.552e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference): time 0.001651/0.001666, allocations: 1.806 MB / 0.6991 GB, free: 8.508 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.002307, allocations: 0.5458 MB / 0.6996 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.002357, allocations: 4 kB / 0.6996 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.002449, allocations: 11.86 kB / 0.6997 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.00274, allocations: 71.48 kB / 0.6997 GB, free: 7.871 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.002857, allocations: 63.77 kB / 0.6998 GB, free: 7.809 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003004, allocations: 175.2 kB / 0.6999 GB, free: 7.637 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.003041, allocations: 1.312 kB / 0.6999 GB, free: 7.637 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.003136, allocations: 95.78 kB / 0.7 GB, free: 7.543 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.003312, allocations: 75.78 kB / 0.7001 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.003333, allocations: 8 kB / 0.7001 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.003348, allocations: 4 kB / 0.7001 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.003397, allocations: 35.89 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.003446, allocations: 47.83 kB / 0.7002 GB, free: 7.375 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003556, allocations: 91.69 kB / 0.7003 GB, free: 7.285 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003558, allocations: 4 kB / 0.7003 GB, free: 7.281 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003559, allocations: 0 / 0.7003 GB, free: 7.281 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.003562, allocations: 0 / 0.7003 GB, free: 7.281 MB / 410.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.0004666/0.004029, allocations: 395.5 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.004058, allocations: 11.97 kB / 0.7007 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.004098, allocations: 20.83 kB / 0.7007 GB, free: 6.828 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004219, allocations: 150.2 kB / 0.7008 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004231, allocations: 8.375 kB / 0.7009 GB, free: 6.648 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.004252, allocations: 4.375 kB / 0.7009 GB, free: 6.645 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.004403, allocations: 98.19 kB / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004411, allocations: 7.938 kB / 0.701 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004421, allocations: 3.984 kB / 0.701 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004425, allocations: 0 / 0.701 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.004561, allocations: 79.86 kB / 0.701 GB, free: 6.453 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.00486, allocations: 284.4 kB / 0.7013 GB, free: 6.145 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.00506, allocations: 134.4 kB / 0.7014 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.005134, allocations: 60.81 kB / 0.7015 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.005146, allocations: 0 / 0.7015 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.00529, allocations: 119 kB / 0.7016 GB, free: 5.816 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.005291, allocations: 3.938 kB / 0.7016 GB, free: 5.812 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003092/0.0056, allocations: 193.7 kB / 0.7018 GB, free: 5.617 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.00562, allocations: 51.41 kB / 0.7018 GB, free: 5.555 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.005696, allocations: 163.6 kB / 0.702 GB, free: 5.387 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005707, allocations: 29.7 kB / 0.702 GB, free: 5.352 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.00574, allocations: 104.1 kB / 0.7021 GB, free: 5.246 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.005759, allocations: 43.58 kB / 0.7022 GB, free: 5.203 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.005798, allocations: 41.7 kB / 0.7022 GB, free: 5.156 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.005829, allocations: 322.8 kB / 0.7025 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.005919, allocations: 85.59 kB / 0.7026 GB, free: 4.742 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.006026, allocations: 203.2 kB / 0.7028 GB, free: 4.508 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.006174, allocations: 144.7 kB / 0.7029 GB, free: 4.359 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006176, allocations: 3.938 kB / 0.7029 GB, free: 4.355 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000219/0.006395, allocations: 236.8 kB / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.006415, allocations: 35.73 kB / 0.7032 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006419, allocations: 3.984 kB / 0.7032 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.006429, allocations: 4 kB / 0.7032 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.006517, allocations: 27.92 kB / 0.7032 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006521, allocations: 0 / 0.7032 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.006598, allocations: 27.92 kB / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.006606, allocations: 4 kB / 0.7033 GB, free: 4 MB / 410.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 4.982e-05/0.006656, allocations: 126.4 kB / 0.7034 GB, free: 3.867 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.006668, allocations: 15.91 kB / 0.7034 GB, free: 3.852 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.006872, allocations: 170.3 kB / 0.7036 GB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006873, allocations: 0 / 0.7036 GB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.006877, allocations: 0 / 0.7036 GB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00688, allocations: 4 kB / 0.7036 GB, free: 3.68 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.154e-05/0.006952, allocations: 153.2 kB / 0.7037 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006953, allocations: 3.938 kB / 0.7037 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.007028, allocations: 27.97 kB / 0.7037 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007029, allocations: 0 / 0.7037 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.007039, allocations: 4 kB / 0.7037 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.00704, allocations: 0 / 0.7037 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007041, allocations: 0 / 0.7037 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.007317, allocations: 252.9 kB / 0.704 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.007332, allocations: 19.86 kB / 0.704 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.007349, allocations: 3.938 kB / 0.704 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.007401, allocations: 15.98 kB / 0.704 GB, free: 3.16 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.007447, allocations: 15.97 kB / 0.704 GB, free: 3.145 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.007453, allocations: 4 kB / 0.704 GB, free: 3.141 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.007496, allocations: 125.8 kB / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.007496, allocations: 0 / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000132/0.007629, allocations: 32 kB / 0.7042 GB, free: 2.988 MB / 410.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 5.945e-05/0.007688, allocations: 107.3 kB / 0.7043 GB, free: 2.871 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.007906, allocations: 216.5 kB / 0.7045 GB, free: 2.645 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007908, allocations: 0 / 0.7045 GB, free: 2.645 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.007988, allocations: 63.83 kB / 0.7046 GB, free: 2.582 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.00816, allocations: 47.89 kB / 0.7046 GB, free: 2.535 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.008573, allocations: 335.2 kB / 0.7049 GB, free: 2.176 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.008611, allocations: 93.81 kB / 0.705 GB, free: 2.066 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.008656, allocations: 24.48 kB / 0.705 GB, free: 2.039 MB / 410.8 MB Notification: Performance of SimCode: time 5.01e-07/0.008656, allocations: 0 / 0.705 GB, free: 2.039 MB / 410.8 MB Notification: Performance of Templates: time 0.002147/0.0108, allocations: 2.049 MB / 0.707 GB, free: 8 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead_Wells1975_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.351476470939815]