Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.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.0009123/0.0009123, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002268, 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.0009281/0.0009281, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002129, 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.9658/0.9658, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1072/1.073, 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.736/0.736, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02992/0.7659, allocations: 21.05 MB / 0.5433 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.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.04e-05, allocations: 6.312 kB / 0.5447 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite): time 0.0028/0.00282, allocations: 1.97 MB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.003708, allocations: 0.577 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.003753, allocations: 3.938 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.003797, allocations: 7.922 kB / 0.5472 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.004032, allocations: 71.42 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.004193, allocations: 63.83 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.004368, allocations: 168 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.004399, allocations: 9.953 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.004539, allocations: 111.7 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.004708, allocations: 79.77 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.004727, allocations: 4 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.004743, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.004778, allocations: 23.94 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.004811, allocations: 31.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.004893, allocations: 75.73 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.004899, allocations: 3.938 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0049, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.004906, allocations: 4 kB / 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.0003215/0.005228, allocations: 380.2 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.118e-05/0.005249, allocations: 15.89 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.005274, allocations: 20.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.005388, allocations: 158.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.005401, allocations: 4.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.00542, allocations: 8.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.005537, allocations: 77.02 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.005543, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005551, allocations: 4 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.005554, allocations: 0 / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.005607, allocations: 23.98 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.005839, allocations: 197.8 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.005948, allocations: 114.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.00598, allocations: 24.84 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.005994, allocations: 7.984 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.95e-05/0.006094, allocations: 94.17 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.006095, allocations: 0 / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001375/0.006232, allocations: 81.66 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.006257, allocations: 55.41 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.006343, allocations: 154.6 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.006359, allocations: 29.7 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.006389, allocations: 96.28 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.006423, allocations: 47.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.006476, allocations: 45.58 kB / 0.5493 GB, free: 25.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.00652, allocations: 322.8 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.006561, allocations: 48.52 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.006626, allocations: 158.1 kB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.006698, allocations: 87.28 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.006699, allocations: 0 / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001123/0.006812, allocations: 147.8 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.006843, allocations: 37.69 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.006847, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.006855, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.006977, allocations: 35.92 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.006981, allocations: 4 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.007069, allocations: 15.36 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.00708, allocations: 6.969 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 5.711e-05/0.007137, allocations: 120.7 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.007153, allocations: 15.92 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.00727, allocations: 98.36 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007271, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.007272, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.007275, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.049e-05/0.007356, allocations: 101.8 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.007357, allocations: 0 / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.007451, allocations: 23.98 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.007468, allocations: 7.953 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00747, allocations: 3.938 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.007481, allocations: 7.984 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.007482, allocations: 4 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007483, allocations: 0 / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.007614, allocations: 143.2 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.007631, allocations: 7.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.007676, allocations: 7.984 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.007718, allocations: 19.97 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.007723, allocations: 0 / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.797e-05/0.007751, allocations: 42.5 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007751, allocations: 0 / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001077/0.007859, allocations: 36.03 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 7.789e-05/0.007937, allocations: 88.3 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.008055, allocations: 152.5 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.00806, allocations: 0 / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.008109, allocations: 40.78 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.0001388/0.008247, allocations: 59.27 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.002447/0.01069, allocations: 346.2 kB / 0.5514 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.516e-05/0.01072, allocations: 67.84 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.01078, allocations: 25.45 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01089, allocations: 91.34 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01089, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.003742/0.01463, allocations: 2.738 MB / 0.5543 GB, free: 20.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3859054567292333]