Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_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.001125/0.001125, 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.0008969/0.0008969, allocations: 169.9 kB / 23.21 MB, free: 1.332 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.9661/0.9661, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7325/0.7325, allocations: 291.1 MB / 0.5382 GB, free: 51.87 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.TetraethylLead.TetraethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.861e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference): time 0.002007/0.002036, allocations: 1.82 MB / 0.6991 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.002727, allocations: 0.5535 MB / 0.6997 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.002783, allocations: 0 / 0.6997 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.632e-05/0.002879, allocations: 15.84 kB / 0.6997 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.0032, allocations: 63.48 kB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.003326, allocations: 67.34 kB / 0.6998 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.003488, allocations: 175.2 kB / 0.7 GB, free: 7.703 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.003534, allocations: 5.312 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003638, allocations: 91.72 kB / 0.7001 GB, free: 7.609 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.003831, allocations: 71.78 kB / 0.7001 GB, free: 7.539 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.003853, allocations: 8 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.003869, allocations: 8 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.003927, allocations: 39.88 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.003976, allocations: 35.92 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004098, allocations: 103.6 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.0041, allocations: 4 kB / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004101, allocations: 0 / 0.7003 GB, free: 7.344 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004105, allocations: 0 / 0.7003 GB, free: 7.344 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.0005315/0.004637, allocations: 398.2 kB / 0.7007 GB, free: 6.922 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.004671, allocations: 8.031 kB / 0.7007 GB, free: 6.914 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.004715, allocations: 16.84 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004852, allocations: 150.1 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.004866, allocations: 8.375 kB / 0.7009 GB, free: 6.719 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.004895, allocations: 12.38 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.005065, allocations: 98.17 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005074, allocations: 3.938 kB / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.005086, allocations: 4 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005091, allocations: 4 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.005231, allocations: 75.92 kB / 0.7011 GB, free: 6.52 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.005565, allocations: 276.4 kB / 0.7013 GB, free: 6.219 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.00578, allocations: 146.3 kB / 0.7015 GB, free: 6.066 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.005857, allocations: 44.83 kB / 0.7015 GB, free: 6.02 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.005877, allocations: 0 / 0.7015 GB, free: 6.02 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.006044, allocations: 115.3 kB / 0.7016 GB, free: 5.895 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.006045, allocations: 4 kB / 0.7016 GB, free: 5.891 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000328/0.006373, allocations: 197.6 kB / 0.7018 GB, free: 5.691 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.006397, allocations: 55.62 kB / 0.7019 GB, free: 5.625 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.006484, allocations: 161 kB / 0.702 GB, free: 5.461 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006496, allocations: 33.64 kB / 0.702 GB, free: 5.422 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.006535, allocations: 104 kB / 0.7021 GB, free: 5.316 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.006562, allocations: 47.62 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.006603, allocations: 37.7 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.006637, allocations: 322.8 kB / 0.7025 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.006737, allocations: 85.64 kB / 0.7026 GB, free: 4.812 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.006854, allocations: 204 kB / 0.7028 GB, free: 4.578 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.007008, allocations: 148.8 kB / 0.703 GB, free: 4.426 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.007011, allocations: 3.938 kB / 0.703 GB, free: 4.422 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002203/0.007231, allocations: 236.8 kB / 0.7032 GB, free: 4.172 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.007257, allocations: 33.69 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007262, allocations: 4 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.007276, allocations: 0 / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.00737, allocations: 31.98 kB / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007376, allocations: 3.938 kB / 0.7033 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.007455, allocations: 19.92 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.007465, allocations: 4 kB / 0.7033 GB, free: 4.07 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 5.775e-05/0.007522, allocations: 126.4 kB / 0.7034 GB, free: 3.938 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.007535, allocations: 15.91 kB / 0.7034 GB, free: 3.922 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.007765, allocations: 173.2 kB / 0.7036 GB, free: 3.754 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.007767, allocations: 4 kB / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.007771, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.007775, allocations: 7.969 kB / 0.7036 GB, free: 3.742 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.858e-05/0.007864, allocations: 149.2 kB / 0.7037 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007865, allocations: 3.938 kB / 0.7037 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.007951, allocations: 27.97 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007955, allocations: 4 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.007964, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.007966, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007967, allocations: 0 / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.008261, allocations: 248.9 kB / 0.704 GB, free: 3.27 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.008278, allocations: 23.81 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.008296, allocations: 4 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.00835, allocations: 11.98 kB / 0.704 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.008402, allocations: 15.97 kB / 0.7041 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.00841, allocations: 4 kB / 0.7041 GB, free: 3.211 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.008455, allocations: 127 kB / 0.7042 GB, free: 3.086 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008455, allocations: 4.062 kB / 0.7042 GB, free: 3.082 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001342/0.008589, allocations: 32 kB / 0.7042 GB, free: 3.051 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 9.324e-05/0.008682, allocations: 103.2 kB / 0.7043 GB, free: 2.938 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.008928, allocations: 213 kB / 0.7045 GB, free: 2.711 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00893, allocations: 3.938 kB / 0.7045 GB, free: 2.707 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.009015, allocations: 59.89 kB / 0.7046 GB, free: 2.648 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.009208, allocations: 54.39 kB / 0.7046 GB, free: 2.598 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.009669, allocations: 335.2 kB / 0.7049 GB, free: 2.238 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.009715, allocations: 93.81 kB / 0.705 GB, free: 2.129 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.009766, allocations: 24.48 kB / 0.7051 GB, free: 2.102 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.009766, allocations: 0 / 0.7051 GB, free: 2.102 MB / 410.8 MB Notification: Performance of Templates: time 0.002417/0.01218, allocations: 2.043 MB / 0.7071 GB, free: 80 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead_Wells1975_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.424053877592087]