Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_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.001849/0.001849, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.00199/0.00199, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.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.363/1.363, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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.LeadChromate.LeadChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.652e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference): time 0.003325/0.003352, allocations: 1.803 MB / 0.7017 GB, free: 6.777 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004563, allocations: 0.5574 MB / 0.7022 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.004633, allocations: 0 / 0.7022 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.004747, allocations: 11.86 kB / 0.7022 GB, free: 6.203 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.00513, allocations: 67.55 kB / 0.7023 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.005359, allocations: 70.83 kB / 0.7023 GB, free: 6.07 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.005605, allocations: 171.3 kB / 0.7025 GB, free: 5.902 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.005664, allocations: 9.297 kB / 0.7025 GB, free: 5.895 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005832, allocations: 91.78 kB / 0.7026 GB, free: 5.805 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.006098, allocations: 71.84 kB / 0.7027 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.006133, allocations: 8 kB / 0.7027 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.006165, allocations: 8 kB / 0.7027 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.006237, allocations: 35.83 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.006319, allocations: 43.89 kB / 0.7028 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.00649, allocations: 99.62 kB / 0.7029 GB, free: 5.543 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.006494, allocations: 4 kB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006495, allocations: 0 / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.0065, allocations: 0 / 0.7029 GB, free: 5.539 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.0008854/0.007385, allocations: 395.5 kB / 0.7032 GB, free: 5.117 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.00742, allocations: 8.031 kB / 0.7032 GB, free: 5.109 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.007483, allocations: 16.84 kB / 0.7033 GB, free: 5.094 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.007704, allocations: 146.2 kB / 0.7034 GB, free: 4.926 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.007724, allocations: 8.375 kB / 0.7034 GB, free: 4.918 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.00776, allocations: 8.359 kB / 0.7034 GB, free: 4.91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.008102, allocations: 98.19 kB / 0.7035 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008112, allocations: 11.81 kB / 0.7035 GB, free: 4.797 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.008129, allocations: 7.938 kB / 0.7035 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.008133, allocations: 0 / 0.7035 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.008571, allocations: 83.91 kB / 0.7036 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.009125, allocations: 280.4 kB / 0.7039 GB, free: 4.402 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.009673, allocations: 134.4 kB / 0.704 GB, free: 4.262 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.009908, allocations: 56.81 kB / 0.7041 GB, free: 4.203 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.009927, allocations: 7.938 kB / 0.7041 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.01027, allocations: 107.3 kB / 0.7042 GB, free: 4.078 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.01027, allocations: 0 / 0.7042 GB, free: 4.078 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008391/0.01111, allocations: 200.5 kB / 0.7044 GB, free: 3.879 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.01114, allocations: 55.41 kB / 0.7044 GB, free: 3.812 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.01131, allocations: 155.6 kB / 0.7046 GB, free: 3.652 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01133, allocations: 33.64 kB / 0.7046 GB, free: 3.613 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.01139, allocations: 108.1 kB / 0.7047 GB, free: 3.504 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.01143, allocations: 43.64 kB / 0.7047 GB, free: 3.461 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.01153, allocations: 37.7 kB / 0.7048 GB, free: 3.418 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.01158, allocations: 322.8 kB / 0.7051 GB, free: 3.094 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.01184, allocations: 81.66 kB / 0.7052 GB, free: 3.008 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.01216, allocations: 200.6 kB / 0.7054 GB, free: 2.777 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.01262, allocations: 142.5 kB / 0.7055 GB, free: 2.629 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01263, allocations: 7.938 kB / 0.7055 GB, free: 2.621 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006473/0.01327, allocations: 239.5 kB / 0.7057 GB, free: 2.371 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.0133, allocations: 37.64 kB / 0.7058 GB, free: 2.328 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01331, allocations: 0 / 0.7058 GB, free: 2.328 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01333, allocations: 0 / 0.7058 GB, free: 2.328 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.01357, allocations: 27.97 kB / 0.7058 GB, free: 2.301 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01358, allocations: 4 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.01383, allocations: 20.14 kB / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.01386, allocations: 8 kB / 0.7058 GB, free: 2.27 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 9.825e-05/0.01395, allocations: 133.7 kB / 0.7059 GB, free: 2.129 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.01399, allocations: 15.89 kB / 0.706 GB, free: 2.113 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.01458, allocations: 166.4 kB / 0.7061 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01458, allocations: 0 / 0.7061 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.01459, allocations: 0 / 0.7061 GB, free: 1.949 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01459, allocations: 7.984 kB / 0.7061 GB, free: 1.941 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.01476, allocations: 145.2 kB / 0.7063 GB, free: 1.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01476, allocations: 11.94 kB / 0.7063 GB, free: 1.758 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.01499, allocations: 19.98 kB / 0.7063 GB, free: 1.738 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.015, allocations: 3.938 kB / 0.7063 GB, free: 1.734 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.01502, allocations: 7.984 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01502, allocations: 3.938 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01502, allocations: 0 / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.01582, allocations: 246.6 kB / 0.7065 GB, free: 1.465 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.01586, allocations: 19.88 kB / 0.7066 GB, free: 1.445 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.0159, allocations: 11.98 kB / 0.7066 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.01611, allocations: 11.98 kB / 0.7066 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.01619, allocations: 11.98 kB / 0.7066 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.01621, allocations: 7.984 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01632, allocations: 125.3 kB / 0.7067 GB, free: 1.281 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01632, allocations: 0 / 0.7067 GB, free: 1.281 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003813/0.01671, allocations: 32 kB / 0.7068 GB, free: 1.25 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 0.0001292/0.01684, allocations: 107.2 kB / 0.7069 GB, free: 1.133 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000614/0.01745, allocations: 217 kB / 0.7071 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01745, allocations: 0 / 0.7071 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.01771, allocations: 59.89 kB / 0.7071 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.01818, allocations: 39.89 kB / 0.7072 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.019, allocations: 313.3 kB / 0.7075 GB, free: 488 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.01907, allocations: 97.8 kB / 0.7076 GB, free: 372 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.0192, allocations: 21.48 kB / 0.7076 GB, free: 348 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.01928, allocations: 16.5 kB / 0.7076 GB, free: 332 kB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01928, allocations: 0 / 0.7076 GB, free: 332 kB / 410.8 MB Notification: Performance of Templates: time 0.009412/0.02869, allocations: 2.507 MB / 0.71 GB, free: 13.93 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.662547388114035]