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.00107/0.00107, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002517, allocations: 455.9 kB / 10.35 MB, free: 348 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.001108/0.001108, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002414, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9964/0.9964, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.108, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.8584/0.8584, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04088/0.8993, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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.693e-06/1.693e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.411e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate): time 0.00304/0.003064, allocations: 1.96 MB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.004017, allocations: 0.5731 MB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.004089, allocations: 7.938 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.53e-05/0.004155, allocations: 11.86 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.004442, allocations: 63.55 kB / 0.5472 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.004638, allocations: 71.77 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.004876, allocations: 164 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.004933, allocations: 9.906 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.005131, allocations: 111.8 kB / 0.5475 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.005381, allocations: 75.83 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.005416, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.93e-05/0.005446, allocations: 7.938 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.005507, allocations: 27.88 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.005567, allocations: 27.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.00573, allocations: 79.73 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.005745, allocations: 4 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005747, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.005764, allocations: 0 / 0.5478 GB, free: 27.1 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.0007037/0.006468, allocations: 380.2 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.006508, allocations: 15.89 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.006553, allocations: 16.92 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.006746, allocations: 164.8 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.006769, allocations: 4.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.006798, allocations: 12.38 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.006982, allocations: 85.02 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.006993, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.007004, allocations: 0 / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.007012, allocations: 0 / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.007069, allocations: 23.98 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.007392, allocations: 193.8 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.007537, allocations: 118.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.007579, allocations: 32.84 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.007598, allocations: 0 / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.007754, allocations: 90.23 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.007755, allocations: 0 / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001815/0.007937, allocations: 85.59 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.007968, allocations: 59.39 kB / 0.549 GB, free: 25.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.008068, allocations: 146.6 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.008084, allocations: 29.7 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.00812, allocations: 96.06 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.008153, allocations: 51.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.008206, allocations: 41.64 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.008247, allocations: 322.8 kB / 0.5496 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.008301, allocations: 48.52 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.008371, allocations: 154.1 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.008452, allocations: 91.38 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.008455, allocations: 0 / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001419/0.008597, allocations: 147.8 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.008644, allocations: 33.69 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.008651, allocations: 0 / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.008661, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.008808, allocations: 39.92 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.008813, allocations: 0 / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.008903, allocations: 11.98 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.008914, allocations: 8 kB / 0.5502 GB, free: 24.41 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 6.627e-05/0.008981, allocations: 116.7 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.009002, allocations: 15.92 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.009153, allocations: 94.36 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009157, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.009159, allocations: 4.219 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.009164, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.009264, allocations: 105.7 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.009267, allocations: 3.25 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.009391, allocations: 23.98 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.009412, allocations: 7.953 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.00942, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.009437, allocations: 7.984 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.00944, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.009441, allocations: 48 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.009628, allocations: 147.2 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.009652, allocations: 7.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.009733, allocations: 11.98 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.009786, allocations: 15.97 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.009796, allocations: 0 / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.009836, allocations: 43.92 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009836, allocations: 0 / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.01, allocations: 32 kB / 0.5508 GB, free: 23.72 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 0.0001137/0.01012, allocations: 88.39 kB / 0.5509 GB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.01028, allocations: 149.9 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.01029, allocations: 0 / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.01035, allocations: 44.91 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01056, allocations: 57.19 kB / 0.5511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.01376, allocations: 354.2 kB / 0.5514 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.01379, allocations: 67.84 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.828e-05/0.01389, allocations: 17.48 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.01401, allocations: 91.34 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.01401, allocations: 0 / 0.5516 GB, free: 22.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003694/0.01771, allocations: 2.737 MB / 0.5543 GB, free: 20.13 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.3964734291657805]