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.001191/0.001191, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002075/0.003266, 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.0009118/0.0009118, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002075, 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 1.122/1.122, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1196/1.242, allocations: 53.67 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.8867/0.8867, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04442/0.9311, allocations: 21.05 MB / 0.5432 GB, free: 31.72 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_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 2.084e-06/2.084e-06, allocations: 0 / 0.5446 GB, free: 30.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.828e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate_McAughey1988_reference): time 0.003276/0.003304, allocations: 1.941 MB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.004287, allocations: 0.5754 MB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.004351, allocations: 0 / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/0.004429, allocations: 15.8 kB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.004763, allocations: 67.53 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.005004, allocations: 67.77 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.005269, allocations: 168 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.005324, allocations: 5.969 kB / 0.5474 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.005549, allocations: 115.7 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.005808, allocations: 75.83 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.005841, allocations: 8 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.664e-05/0.005868, allocations: 4 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.005922, allocations: 35.86 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.005976, allocations: 27.94 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.006125, allocations: 75.69 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.00614, allocations: 4 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.006142, allocations: 0 / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.006158, allocations: 0 / 0.5477 GB, free: 27.13 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.0006535/0.006811, allocations: 384.1 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.00685, allocations: 15.89 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.006899, allocations: 16.92 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.00707, allocations: 157.2 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.007092, allocations: 8.375 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.007117, allocations: 4.375 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.007281, allocations: 76.97 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.007291, allocations: 7.938 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.0073, allocations: 0 / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.007305, allocations: 0 / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.007359, allocations: 27.97 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.007692, allocations: 201.9 kB / 0.5486 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.007828, allocations: 118.9 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.007863, allocations: 20.8 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.00788, allocations: 0 / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.00802, allocations: 94.22 kB / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.008022, allocations: 0 / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001784/0.0082, allocations: 85.66 kB / 0.5489 GB, free: 25.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.008229, allocations: 59.34 kB / 0.5489 GB, free: 25.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.008324, allocations: 146.6 kB / 0.5491 GB, free: 25.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.008343, allocations: 33.7 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.008378, allocations: 92.08 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.008416, allocations: 43.61 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.008477, allocations: 45.64 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.008521, allocations: 330.8 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.527e-05/0.008576, allocations: 40.53 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.008658, allocations: 166.1 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.205e-05/0.00875, allocations: 86.2 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008752, allocations: 0 / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001504/0.008903, allocations: 155.8 kB / 0.55 GB, free: 24.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.008936, allocations: 33.7 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.00894, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.008951, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.009098, allocations: 31.98 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.009102, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.009199, allocations: 15.98 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.009211, allocations: 4 kB / 0.5501 GB, free: 24.45 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.941e-05/0.009281, allocations: 128.5 kB / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.009301, allocations: 15.94 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.009469, allocations: 94.42 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.009472, allocations: 4 kB / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009474, allocations: 0 / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.00948, allocations: 3.984 kB / 0.5504 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.482e-05/0.009565, allocations: 97.97 kB / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009566, allocations: 0 / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.009665, allocations: 35.86 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.009682, allocations: 7.953 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.009686, allocations: 3.938 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.009698, allocations: 8 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0097, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009702, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.009844, allocations: 142.3 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.009862, allocations: 3.938 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.009918, allocations: 15.98 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.009956, allocations: 7.984 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.009963, allocations: 3.984 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.009993, allocations: 42.52 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009993, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.01011, allocations: 36.03 kB / 0.5507 GB, free: 23.75 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 9.684e-05/0.0102, allocations: 92.28 kB / 0.5508 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01035, allocations: 146.7 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.01035, allocations: 7.938 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.0104, allocations: 44.84 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.01055, allocations: 51.95 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.01319, allocations: 354.1 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.793e-05/0.01321, allocations: 71.83 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.01328, allocations: 21.52 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.01339, allocations: 91.34 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01339, allocations: 0 / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of Templates: time 0.003822/0.01721, allocations: 2.738 MB / 0.5543 GB, free: 20.15 MB / 410.7 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: 3.5419797291979194]