Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_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.0007545/0.0007545, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.001925, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007251/0.0007251, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009098/0.001635, allocations: 475.7 kB / 11.72 MB, free: 2.453 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/1, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08659/1.087, allocations: 53.67 MB / 243.3 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.7919/0.7919, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0308/0.8227, allocations: 21.05 MB / 0.5432 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.SodiumSelenite.SodiumSelenite_Patterson1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.658e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference): time 0.001863/0.001879, allocations: 1.95 MB / 0.5465 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000628/0.002507, allocations: 0.569 MB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.002556, allocations: 0 / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.002601, allocations: 15.84 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.002818, allocations: 67.48 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.002945, allocations: 71.77 kB / 0.5472 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.0031, allocations: 164 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.003142, allocations: 5.969 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.003278, allocations: 115.7 kB / 0.5475 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.003462, allocations: 79.77 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.003486, allocations: 12 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.003505, allocations: 4 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.003548, allocations: 23.94 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.003593, allocations: 27.94 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.003713, allocations: 75.73 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.003725, allocations: 3.938 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003726, allocations: 0 / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.00374, allocations: 0 / 0.5477 GB, free: 27.36 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.0005434/0.004284, allocations: 392.1 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.004325, allocations: 15.89 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.004369, allocations: 12.92 kB / 0.5481 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.004518, allocations: 154.8 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.004535, allocations: 8.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.004559, allocations: 4.375 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.004684, allocations: 81.02 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004692, allocations: 7.938 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.004701, allocations: 0 / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004706, allocations: 0 / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.004747, allocations: 23.98 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.004992, allocations: 205.8 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.005099, allocations: 117.6 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.005125, allocations: 20.84 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.005141, allocations: 3.984 kB / 0.5487 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.005261, allocations: 89.62 kB / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.005262, allocations: 0 / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001482/0.005411, allocations: 93.59 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.00543, allocations: 55.41 kB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.005496, allocations: 146.6 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.005509, allocations: 33.7 kB / 0.5491 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.005542, allocations: 96.28 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.005569, allocations: 43.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.005617, allocations: 49.58 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.005653, allocations: 326.8 kB / 0.5496 GB, free: 25.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.005688, allocations: 44.52 kB / 0.5496 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.005745, allocations: 154.1 kB / 0.5498 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/0.00581, allocations: 94.61 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005812, allocations: 0 / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001016/0.005914, allocations: 143.8 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.005947, allocations: 33.7 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005951, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.005966, allocations: 3.984 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.006081, allocations: 35.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.006083, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.006151, allocations: 12 kB / 0.5501 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.006161, allocations: 3.984 kB / 0.5501 GB, free: 24.66 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.046e-05/0.006211, allocations: 128.6 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.006224, allocations: 15.92 kB / 0.5502 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.006331, allocations: 98.36 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.006335, allocations: 0 / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006336, allocations: 0 / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.00635, allocations: 19.83 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.006363, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.006379, allocations: 3.984 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/0.006426, allocations: 8 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.006466, allocations: 19.97 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001476/0.006614, allocations: 209.4 kB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001501/0.006764, allocations: 328.4 kB / 0.5509 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.405e-05/0.006808, allocations: 36.83 kB / 0.5509 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.006835, allocations: 38.53 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of Backend: time 1.1e-07/0.006835, allocations: 0 / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.00707, allocations: 217.5 kB / 0.5511 GB, free: 23.49 MB / 410.7 MB Notification: Performance of SimCode: time 0.002635/0.009705, allocations: 0.8829 MB / 0.552 GB, free: 22.56 MB / 410.7 MB Notification: Performance of Templates: time 0.004158/0.01386, allocations: 2.954 MB / 0.5549 GB, free: 19.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.320106014609337]