Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_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.0007777/0.0007777, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.001733, 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.0007579/0.0007579, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.00186, 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.9854/0.9854, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08335/1.069, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8041/0.8041, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02596/0.8301, allocations: 21.05 MB / 0.5431 GB, free: 31.93 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_Leffler1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.31e-07/7.31e-07, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.38e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference): time 0.001644/0.001658, allocations: 1.939 MB / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.002249, allocations: 0.569 MB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.002288, allocations: 0 / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.002326, allocations: 15.84 kB / 0.5469 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.002508, allocations: 67.48 kB / 0.547 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.002621, allocations: 67.77 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.002754, allocations: 168 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.581e-05/0.00278, allocations: 5.969 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.002889, allocations: 115.8 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.003032, allocations: 75.78 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.00305, allocations: 4 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.003067, allocations: 12 kB / 0.5474 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.003105, allocations: 19.94 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.003145, allocations: 31.92 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.943e-05/0.003235, allocations: 75.69 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.003244, allocations: 3.938 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003245, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.003254, allocations: 0 / 0.5476 GB, free: 27.37 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.000375/0.003629, allocations: 392.1 kB / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.104e-05/0.00365, allocations: 15.89 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.003677, allocations: 19.98 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.003769, allocations: 153.8 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.003783, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.003798, allocations: 8.359 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.162e-05/0.003889, allocations: 76.95 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.003895, allocations: 3.938 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.003904, allocations: 8 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-06/0.003907, allocations: 0 / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.003945, allocations: 19.98 kB / 0.5482 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.00413, allocations: 197.9 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.857e-05/0.004219, allocations: 122.9 kB / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.004242, allocations: 16.84 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.004253, allocations: 4 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/0.004337, allocations: 94.23 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.004338, allocations: 0 / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001045/0.004442, allocations: 81.66 kB / 0.5487 GB, free: 26.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.633e-05/0.004459, allocations: 71.33 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.00451, allocations: 142.6 kB / 0.5489 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.004522, allocations: 33.7 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.004544, allocations: 96.28 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.004565, allocations: 43.61 kB / 0.5491 GB, free: 25.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.004603, allocations: 49.58 kB / 0.5491 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.004631, allocations: 322.8 kB / 0.5495 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.00466, allocations: 48.52 kB / 0.5495 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.004707, allocations: 153.1 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.00476, allocations: 84.16 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.004761, allocations: 8 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.334e-05/0.004844, allocations: 150.7 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.004864, allocations: 37.69 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.004867, allocations: 0 / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-06/0.004872, allocations: 0 / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.004961, allocations: 27.98 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004964, allocations: 7.359 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.005028, allocations: 15.98 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005034, allocations: 0 / 0.55 GB, free: 24.68 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.053e-05/0.005075, allocations: 128.5 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005087, allocations: 15.92 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.479e-05/0.005172, allocations: 94.42 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.005173, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005175, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005177, allocations: 4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.254e-05/0.00525, allocations: 105.1 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005251, allocations: 0 / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.005319, allocations: 27.92 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.005331, allocations: 7.953 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.005334, allocations: 11.92 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.005344, allocations: 4 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.005345, allocations: 4 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005346, allocations: 0 / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.005453, allocations: 130.7 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.005469, allocations: 11.94 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.005516, allocations: 7.984 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.005544, allocations: 15.97 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.005549, allocations: 4 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.447e-05/0.005574, allocations: 47.92 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005574, allocations: 7.969 kB / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001087/0.005682, allocations: 32 kB / 0.5506 GB, free: 23.98 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 4.695e-05/0.005729, allocations: 84.39 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.005831, allocations: 149.9 kB / 0.5508 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005833, allocations: 0 / 0.5508 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.005869, allocations: 37.58 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.005992, allocations: 59.2 kB / 0.5509 GB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.008445, allocations: 358.4 kB / 0.5513 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.084e-05/0.008466, allocations: 67.84 kB / 0.5513 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.008526, allocations: 17.48 kB / 0.5513 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.008624, allocations: 91.34 kB / 0.5514 GB, free: 23.06 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008625, allocations: 0 / 0.5514 GB, free: 23.06 MB / 410.7 MB Notification: Performance of Templates: time 0.00355/0.01217, allocations: 2.739 MB / 0.5541 GB, free: 20.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.233895064331591]