Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.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.0006637/0.0006637, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008948/0.001559, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.000708/0.000708, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008637/0.001572, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9955/0.9955, allocations: 177.1 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/1.082, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.7164/0.7164, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05218/0.7685, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.086e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate): time 0.001785/0.001806, allocations: 1.951 MB / 0.5464 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.002445, allocations: 0.5692 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.002496, allocations: 0 / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.002546, allocations: 11.86 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.002766, allocations: 71.47 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.002906, allocations: 67.77 kB / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.003062, allocations: 168 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.003098, allocations: 5.969 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.00323, allocations: 111.8 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.003407, allocations: 79.77 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.003428, allocations: 4 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.003447, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.003487, allocations: 27.92 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.003528, allocations: 27.94 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003633, allocations: 79.64 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.003646, allocations: 4 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003646, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.003656, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 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.000496/0.004152, allocations: 384.1 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.00418, allocations: 15.89 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.004219, allocations: 12.92 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004344, allocations: 161.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.004364, allocations: 8.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.004383, allocations: 8.312 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.004497, allocations: 85.02 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004505, allocations: 7.938 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.004513, allocations: 0 / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004517, allocations: 0 / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.004557, allocations: 19.98 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.004785, allocations: 197.9 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.004891, allocations: 118.9 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.004917, allocations: 24.84 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.00493, allocations: 0 / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.005035, allocations: 90.23 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.41e-07/0.005036, allocations: 0 / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000134/0.00517, allocations: 89.59 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.005194, allocations: 59.39 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.005254, allocations: 142.9 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.005266, allocations: 33.7 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.005294, allocations: 104 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.005318, allocations: 43.61 kB / 0.5491 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.005356, allocations: 41.66 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.005388, allocations: 326.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.00542, allocations: 44.52 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.005468, allocations: 161.1 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.005523, allocations: 84.16 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005525, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.726e-05/0.005612, allocations: 147.8 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.005637, allocations: 40.66 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005641, allocations: 4 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.005649, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.005752, allocations: 31.98 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005754, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.005827, allocations: 15.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.005835, allocations: 4 kB / 0.55 GB, free: 24.65 MB / 410.7 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.783e-05/0.005883, allocations: 120.6 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.005897, allocations: 15.92 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.656e-05/0.005993, allocations: 98.47 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005996, allocations: 3.984 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.005997, allocations: 7.062 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006, allocations: 0 / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.695e-05/0.006067, allocations: 97.75 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006068, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.006142, allocations: 31.92 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.006156, allocations: 11.94 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.006158, allocations: 3.938 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.006168, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006169, allocations: 4 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00617, allocations: 4 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.00629, allocations: 131.3 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.006305, allocations: 3.938 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.006352, allocations: 11.98 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.006385, allocations: 19.91 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.00639, allocations: 0 / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.006417, allocations: 46.5 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006417, allocations: 3.938 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001087/0.006526, allocations: 32 kB / 0.5506 GB, free: 23.96 MB / 410.7 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 6.223e-05/0.006588, allocations: 80.45 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.006707, allocations: 149.9 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.006711, allocations: 4 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.006748, allocations: 40.91 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.006886, allocations: 65.64 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.009334, allocations: 346.2 kB / 0.5513 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.383e-05/0.009358, allocations: 67.84 kB / 0.5513 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.009421, allocations: 17.48 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.009552, allocations: 91.34 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.009553, allocations: 3.938 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003952/0.0135, allocations: 2.745 MB / 0.5541 GB, free: 20.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.184298668988049]